| 1 | <?php |
||
| 19 | class CompositePublishAction implements CompositePublishActionInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var PublishDestinationInterface[] |
||
| 23 | */ |
||
| 24 | private $destinations = []; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * CompositePublishAction constructor. |
||
| 28 | * |
||
| 29 | * @param PublishDestinationInterface[] $destinations |
||
| 30 | */ |
||
| 31 | public function __construct(array $destinations = []) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getDestinations(): array |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function setDestinations(array $destinations) |
||
| 51 | } |
||
| 52 |