original_string: public function get($key) {
          if (array_key_exists($key, $this->_fields)) {
              if (gettype($this->_fields['' . $key . '']) == 'object') {
                  return $this->_fields['' . $key . '']->value;
              }
              else {
                  return $this->_fields['' . $key . ''];
              }
          }
          else {
              throw new MissingEntityException('The field "' . $key . '" doesn\'t exist in ' . $this->_name);
          }
      }
code: public function get($key) {
          if (array_key_exists($key, $this->_fields)) {
              if (gettype($this->_fields['' . $key . '']) == 'object') {
                  return $this->_fields['' . $key . '']->value;
              }
              else {
                  return $this->_fields['' . $key . ''];
              }
          }
          else {
              throw new MissingEntityException('The field "' . $key . '" doesn\'t exist in ' . $this->_name);
          }
      }
code_tokens: public function get ( $ key ) { if ( array_key_exists ( $ key , $ this -> _fields ) ) { if ( gettype ( $ this -> _fields [ '' . $ key . '' ] ) == 'object' ) { return $ this -> _fields [ '' . $ key . '' ] -> value ; } else { return $ this -> _fields [ '' . $ key . '' ] ; } } else { throw new MissingEntityException ( 'The field "' . $ key . '" doesn\'t exist in ' . $ this -> _name ) ; } }
docstring: return a field value
  @access public
  @param $key string
  @throws MissingEntityException
  @return mixed integer,boolean,string,\Gcs\Framework\Core\Orm\Entity\Type\Type
  @since 3.0
  @package Gcs\Framework\Core\Orm\Entity
docstring_tokens: return a field value