original_string: public function addAdaptor(AbstractAdaptor $adaptor)
      {
          // The key will be the adaptor's name or the next numerical
          // count if a name is blank
          $adaptorName = $adaptor->getName() ?: $this->adaptorCount;
          $this->adaptors[$adaptorName] = $adaptor;
          $this->adaptorCount++;
      }
code: public function addAdaptor(AbstractAdaptor $adaptor)
      {
          // The key will be the adaptor's name or the next numerical
          // count if a name is blank
          $adaptorName = $adaptor->getName() ?: $this->adaptorCount;
          $this->adaptors[$adaptorName] = $adaptor;
          $this->adaptorCount++;
      }
code_tokens: public function addAdaptor ( AbstractAdaptor $ adaptor ) { // The key will be the adaptor's name or the next numerical // count if a name is blank $ adaptorName = $ adaptor -> getName ( ) ? : $ this -> adaptorCount ; $ this -> adaptors [ $ adaptorName ] = $ adaptor ; $ this -> adaptorCount ++ ; }
docstring: Add an adaptor to write logs
  
  @param AbstractAdaptor $adaptor Adaptor to add to list
docstring_tokens: Add an adaptor to write logs