| 1 | <?php |
||
| 20 | class DefaultChannelFactory implements DefaultChannelFactoryInterface |
||
| 21 | { |
||
| 22 | const DEFAULT_CHANNEL_NAME = 'Default'; |
||
| 23 | const DEFAULT_CHANNEL_CODE = 'DEFAULT'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var ChannelFactoryInterface |
||
| 27 | */ |
||
| 28 | private $channelFactory; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var RepositoryInterface |
||
| 32 | */ |
||
| 33 | private $channelRepository; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param ChannelFactoryInterface $channelFactory |
||
| 37 | * @param RepositoryInterface $channelRepository |
||
| 38 | */ |
||
| 39 | public function __construct(ChannelFactoryInterface $channelFactory, RepositoryInterface $channelRepository) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | public function create() |
||
| 57 | } |
||
| 58 |