original_string: protected function _setTransporter(Model $model, Transit $transit, array $attachment) {
          if (empty($attachment['transport'])) {
              return;
          }
  
          $transit->setTransporter($this->_getTransporter($attachment, $attachment['transport']));
      }
code: protected function _setTransporter(Model $model, Transit $transit, array $attachment) {
          if (empty($attachment['transport'])) {
              return;
          }
  
          $transit->setTransporter($this->_getTransporter($attachment, $attachment['transport']));
      }
code_tokens: protected function _setTransporter ( Model $ model , Transit $ transit , array $ attachment ) { if ( empty ( $ attachment [ 'transport' ] ) ) { return ; } $ transit -> setTransporter ( $ this -> _getTransporter ( $ attachment , $ attachment [ 'transport' ] ) ) ; }
docstring: Set the Transit Transporter to use based on the attachment settings.
  
  @param Model $model
  @param \Transit\Transit $transit
  @param array $attachment
docstring_tokens: Set the Transit Transporter to use based on the attachment settings .