original_string: public function addChannel(ChannelInterface $channel)
      {
          $this->getChannelStore()
              ->addChannel($channel);
  
          $processor = $channel->getProcessor();
          if ($processor) {
              $this->getProcessorStore()->addProcessor($processor);
          }
      }
code: public function addChannel(ChannelInterface $channel)
      {
          $this->getChannelStore()
              ->addChannel($channel);
  
          $processor = $channel->getProcessor();
          if ($processor) {
              $this->getProcessorStore()->addProcessor($processor);
          }
      }
code_tokens: public function addChannel ( ChannelInterface $ channel ) { $ this -> getChannelStore ( ) -> addChannel ( $ channel ) ; $ processor = $ channel -> getProcessor ( ) ; if ( $ processor ) { $ this -> getProcessorStore ( ) -> addProcessor ( $ processor ) ; } }
docstring: Add a channel.
  
  @api
  
  @param ChannelInterface $channel
docstring_tokens: Add a channel .