| 1 | <?php |
||
| 10 | class ChannelServiceProvider extends AbstractServiceProvider |
||
| 11 | { |
||
| 12 | protected $provides = [ |
||
| 13 | ChannelManager::class, |
||
| 14 | ]; |
||
| 15 | |||
| 16 | private $channels; |
||
| 17 | |||
| 18 | public function __construct(array $channels) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Use the register method to register items with the container via the |
||
| 25 | * protected $this->container property or the `getContainer` method |
||
| 26 | * from the ContainerAwareTrait. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function register(): void |
||
| 40 | } |
||
| 41 |