PHP Interface Nelmio\Alice\Generator\HydratorInterface

Afficher le fichier Open project: nelmio/alice Interface Usage Examples

Méthodes publiques

Méthode Description
hydrate ( Nelmio\Alice\ObjectInterface $object, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedFixtureSet Hydrates the given object. Has access to the current fixture set and returns the new fixture set containing the hydrated object.

Method Details

hydrate() public méthode

Hydrates the given object. Has access to the current fixture set and returns the new fixture set containing the hydrated object.
public hydrate ( Nelmio\Alice\ObjectInterface $object, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedFixtureSet
$object Nelmio\Alice\ObjectInterface Object to hydrate
$fixtureSet ResolvedFixtureSet
$context GenerationContext
Résultat ResolvedFixtureSet