protected function _get($primaryKey)
    {
        $this->hydrateModel($primaryKey);

        return ($this->getModel() instanceof ActiveRecordInterface) ? $this->getModel() : NULL;
    }
protected function _get($primaryKey)
    {
        $this->hydrateModel($primaryKey);

        return ($this->getModel() instanceof ActiveRecordInterface) ? $this->getModel() : NULL;
    }
protected function _get ( $ primaryKey ) { $ this -> hydrateModel ( $ primaryKey ) ; return ( $ this -> getModel ( ) instanceof ActiveRecordInterface ) ? $ this -> getModel ( ) : NULL ; }
Extract specific entity

@param integer $primaryKey

@return null|ActiveRecordInterface
Extract specific entity