| 1 | <?php |
||
| 19 | final class CreateCommand |
||
| 20 | { |
||
| 21 | private $object; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var StrategyContainer |
||
| 25 | */ |
||
| 26 | private $strategies; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var Context |
||
| 30 | */ |
||
| 31 | private $context; |
||
| 32 | |||
| 33 | public function __construct($object, StrategyContainer $strategies, Context $context = null) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | public function getObject() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return StrategyContainer |
||
| 50 | */ |
||
| 51 | public function getStrategies() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return Context |
||
| 58 | */ |
||
| 59 | public function getContext() |
||
| 63 | } |
||
| 64 |