PHP Interface Doctrine\OXM\Marshaller\Marshaller

Since: 2.0
Author: Richard Fullmer ([email protected])
Datei anzeigen Open project: doctrine/oxm Interface Usage Examples

Public Methods

Method Description
marshalToStream ( object $mappedObject, $stream ) : stream
marshalToString ( object $mappedObject ) : string
unmarshalFromStream ( string $stream ) : object
unmarshalFromString ( string $xml ) : object

Method Details

marshalToStream() public method

public marshalToStream ( object $mappedObject, $stream ) : stream
$mappedObject object
return stream

marshalToString() public method

public marshalToString ( object $mappedObject ) : string
$mappedObject object
return string

unmarshalFromStream() public method

public unmarshalFromStream ( string $stream ) : object
$stream string
return object

unmarshalFromString() public method

public unmarshalFromString ( string $xml ) : object
$xml string
return object