original_string: public function add($alias, Association $association)
      {
          list(, $alias) = pluginSplit($alias);
  
          return $this->_items[strtolower($alias)] = $association;
      }
code: public function add($alias, Association $association)
      {
          list(, $alias) = pluginSplit($alias);
  
          return $this->_items[strtolower($alias)] = $association;
      }
code_tokens: public function add ( $ alias , Association $ association ) { list ( , $ alias ) = pluginSplit ( $ alias ) ; return $ this -> _items [ strtolower ( $ alias ) ] = $ association ; }
docstring: Add an association to the collection
  
  If the alias added contains a `.` the part preceding the `.` will be dropped.
  This makes using plugins simpler as the Plugin.Class syntax is frequently used.
  
  @param string $alias The association alias
  @param \Cake\ORM\Association $association The association to add.
  @return \Cake\ORM\Association The association object being added.
docstring_tokens: Add an association to the collection