original_string: static function fromArray($array) {
  
  		$data = new EETData();
  
  		foreach (self::$keyNames as $key) {
  			if (array_key_exists($key, $array)) {
  				$data->$key = $array[$key];
  			}
  		}
  
  		$data->rawData = $array;
  
  		return $data;
  
  	}
code: static function fromArray($array) {
  
  		$data = new EETData();
  
  		foreach (self::$keyNames as $key) {
  			if (array_key_exists($key, $array)) {
  				$data->$key = $array[$key];
  			}
  		}
  
  		$data->rawData = $array;
  
  		return $data;
  
  	}
code_tokens: static function fromArray ( $ array ) { $ data = new EETData ( ) ; foreach ( self :: $ keyNames as $ key ) { if ( array_key_exists ( $ key , $ array ) ) { $ data -> $ key = $ array [ $ key ] ; } } $ data -> rawData = $ array ; return $ data ; }
docstring: Creates EETData object from array received from API
  
  @param $array
  
  @return EETData
docstring_tokens: Creates EETData object from array received from API