PHP 인터페이스 Nelmio\Alice\Generator\HydratorInterface

파일 보기 프로젝트 열기: nelmio/alice 0 사용 예제들

공개 메소드들

메소드 설명
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