public function __construct(ChannelManager $channelManager, Application $application, ConfigInterface $config) { $this->environment = $application->getEnvironment(); $this->channelManager = $channelManager; $this->config = $config; }