public static function fromRawEntry($entry)
	{
		$className = get_called_class();
		$class = new $className();

		foreach ($entry as $property=> $value)
			$class->{$property} = $value;

		return $class;
	}
public static function fromRawEntry($entry)
	{
		$className = get_called_class();
		$class = new $className();

		foreach ($entry as $property=> $value)
			$class->{$property} = $value;

		return $class;
	}
public static function fromRawEntry ( $ entry ) { $ className = get_called_class ( ) ; $ class = new $ className ( ) ; foreach ( $ entry as $ property => $ value ) $ class -> { $ property } = $ value ; return $ class ; }
Constructs an appropriate object based on the raw entry
@param \stdClass $entry the raw entry
@return mixed
Constructs an appropriate object based on the raw entry