PHP Интерфейс Nelmio\Alice\Generator\HydratorInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

hydrate() публичный Метод

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
Результат ResolvedFixtureSet