protected function exportObject($obj)
	{
		// Serialize the object
		$str = call_user_func($this->serializer, $obj);

		// Export the object's source
		$str = var_export($str, true);

		return $this->unserializer . '(' . $str . ')';
	}
protected function exportObject($obj)
	{
		// Serialize the object
		$str = call_user_func($this->serializer, $obj);

		// Export the object's source
		$str = var_export($str, true);

		return $this->unserializer . '(' . $str . ')';
	}
protected function exportObject ( $ obj ) { // Serialize the object $ str = call_user_func ( $ this -> serializer , $ obj ) ; // Export the object's source $ str = var_export ( $ str , true ) ; return $ this -> unserializer . '(' . $ str . ')' ; }
Serialize and export a given object as PHP code

@param  object $obj Original object
@return string      PHP code
Serialize and export a given object as PHP code