| 1 | <?php |
||
| 9 | class ManifestVersionStrategy implements VersionStrategyInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ManifestLoaderInterface |
||
| 13 | */ |
||
| 14 | private $loader; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var null|Manifest |
||
| 18 | */ |
||
| 19 | private $manifest = null; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param ManifestLoaderInterface $loader |
||
| 23 | */ |
||
| 24 | 4 | public function __construct(ManifestLoaderInterface $loader) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public function getVersion($path) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 4 | public function applyVersion($path) |
|
| 52 | } |
||
| 53 |