public function get($alias)
    {
        $alias = strtolower($alias);
        if (isset($this->_items[$alias])) {
            return $this->_items[$alias];
        }

        return null;
    }
public function get($alias)
    {
        $alias = strtolower($alias);
        if (isset($this->_items[$alias])) {
            return $this->_items[$alias];
        }

        return null;
    }
public function get ( $ alias ) { $ alias = strtolower ( $ alias ) ; if ( isset ( $ this -> _items [ $ alias ] ) ) { return $ this -> _items [ $ alias ] ; } return null ; }
Fetch an attached association by name.

@param string $alias The association alias to get.
@return \Cake\ORM\Association|null Either the association or null.
Fetch an attached association by name .