original_string: public function getValue($key = null) {
  		if( empty($key) ) {
  			return $this->data;
  		}
  		if( !array_key_exists($key, $this->data) ) {
  			throw new FieldNotFoundException($key, static::getClass());
  		}
  		return $this->data[$key];
  	}
code: public function getValue($key = null) {
  		if( empty($key) ) {
  			return $this->data;
  		}
  		if( !array_key_exists($key, $this->data) ) {
  			throw new FieldNotFoundException($key, static::getClass());
  		}
  		return $this->data[$key];
  	}
code_tokens: public function getValue ( $ key = null ) { if ( empty ( $ key ) ) { return $ this -> data ; } if ( ! array_key_exists ( $ key , $ this -> data ) ) { throw new FieldNotFoundException ( $ key , static :: getClass ( ) ) ; } return $ this -> data [ $ key ] ; }
docstring: Get one value or all values
  
  @param string $key Name of the field to get.
  @return mixed|array
  @throws FieldNotFoundException
  
  Get the value of field $key or all data values if $key is null.
docstring_tokens: Get one value or all values