public function getItem(array $conditions = array())
    {
        $list = $this->getItems($conditions);

        if (empty($list)) {
            return $list;
        }

        return reset($list);
    }
public function getItem(array $conditions = array())
    {
        $list = $this->getItems($conditions);

        if (empty($list)) {
            return $list;
        }

        return reset($list);
    }
public function getItem ( array $ conditions = array ( ) ) { $ list = $ this -> getItems ( $ conditions ) ; if ( empty ( $ list ) ) { return $ list ; } return reset ( $ list ) ; }
Returns a single entity item
@param array $conditions
@return array
Returns a single entity item