PHP Interface Nelmio\Alice\Generator\InstantiatorInterface

Mostrar archivo Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
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.

Method Details

instantiate() public method

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
return ResolvedFixtureSet