PHP Class Joli\Jane\Reference\Replacer

Mostrar archivo Open project: jolicode/jane

Public Methods

Method Description
__construct ( Resolver $resolver )
replace ( mixed $object, mixed $root = null ) Replace all references for an object

Method Details

__construct() public method

public __construct ( Resolver $resolver )
$resolver Resolver A resolver for reference

replace() public method

Replace all references for an object
public replace ( mixed $object, mixed $root = null )
$object mixed Object to replace
$root mixed Root object