| 1 | <?php |
||
| 22 | final class CreateCommand |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var File |
||
| 26 | */ |
||
| 27 | private $file; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var StrategyContainer |
||
| 31 | */ |
||
| 32 | private $strategies; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Initializes this command. |
||
| 36 | * |
||
| 37 | * @param File $file |
||
| 38 | * @param StrategyContainer $strategies |
||
| 39 | */ |
||
| 40 | 2 | public function __construct(File $file, StrategyContainer $strategies) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * Returns the strategyContainer in this command context. |
||
| 48 | * |
||
| 49 | * @return StrategyContainer |
||
| 50 | */ |
||
| 51 | 1 | public function getStrategies() |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @return File |
||
| 58 | */ |
||
| 59 | 1 | public function getFile() |
|
| 63 | } |
||
| 64 |