/**
* Constructor.
*
* @param ChannelManager $channelManager
* @param Application $application
* @param ConfigInterface $config
*/
public function __construct(ChannelManager $channelManager, Application $application, ConfigInterface $config)
{
$this->environment = $application->getEnvironment();
$this->channelManager = $channelManager;
$this->config = $config;
}