| @@ 53-63 (lines=11) @@ | ||
| 50 | * @param OptionsInterface $options |
|
| 51 | * @param VersionRepositoryInterface $versionRepository |
|
| 52 | */ |
|
| 53 | public function __construct( |
|
| 54 | CollectionInterface $collection, |
|
| 55 | VersionInterface $target, |
|
| 56 | OptionsInterface $options, |
|
| 57 | VersionRepositoryInterface $versionRepository |
|
| 58 | ) { |
|
| 59 | $this->setCollection($collection); |
|
| 60 | $this->setTarget($target); |
|
| 61 | $this->setOptions($options); |
|
| 62 | $this->setVersionRepository($versionRepository); |
|
| 63 | } |
|
| 64 | } |
|
| 65 | ||
| @@ 57-69 (lines=13) @@ | ||
| 54 | * @param CommandBus $domainBus |
|
| 55 | * @param VersionRepositoryInterface $versionRepository |
|
| 56 | */ |
|
| 57 | public function __construct( |
|
| 58 | CollectionInterface $collection, |
|
| 59 | VersionInterface $target, |
|
| 60 | OptionsInterface $options, |
|
| 61 | CommandBus $domainBus, |
|
| 62 | VersionRepositoryInterface $versionRepository |
|
| 63 | ) { |
|
| 64 | $this->domainBus = $domainBus; |
|
| 65 | $this->setCollection($collection); |
|
| 66 | $this->setTarget($target); |
|
| 67 | $this->setOptions($options); |
|
| 68 | $this->setVersionRepository($versionRepository); |
|
| 69 | } |
|
| 70 | ||
| 71 | /** |
|
| 72 | * getDomainBus |
|