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

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

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

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