public function __construct(Channel $channel, Environment $environment) { $this->channel = $channel; $this->environment = $environment; }