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

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

공개 메소드들

메소드 설명
instantiate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedFixtureSet Instantiates the object described by the given fixture. Has access to the current fixture set and returns the new fixture set containing the instantiated the object.

메소드 상세

instantiate() 공개 메소드

Instantiates the object described by the given fixture. Has access to the current fixture set and returns the new fixture set containing the instantiated the object.
public instantiate ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $fixtureSet, GenerationContext $context ) : ResolvedFixtureSet
$fixture Nelmio\Alice\FixtureInterface
$fixtureSet ResolvedFixtureSet
$context GenerationContext
리턴 ResolvedFixtureSet