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