Nelmio\Alice\Generator\ObjectGenerator\SimpleObjectGenerator::completeObject PHP Метод

completeObject() приватный Метод

private completeObject ( Nelmio\Alice\FixtureInterface $fixture, ResolvedFixtureSet $set, GenerationContext $context ) : ResolvedFixtureSet
$fixture Nelmio\Alice\FixtureInterface
$set Nelmio\Alice\Generator\ResolvedFixtureSet
$context Nelmio\Alice\Generator\GenerationContext
Результат Nelmio\Alice\Generator\ResolvedFixtureSet
    private function completeObject(FixtureInterface $fixture, ResolvedFixtureSet $set, GenerationContext $context) : ResolvedFixtureSet
    {
        $instantiatedObject = $set->getObjects()->get($fixture);
        $set = $this->hydrator->hydrate($instantiatedObject, $set, $context);
        $hydratedObject = $set->getObjects()->get($fixture);
        return $this->caller->doCallsOn($hydratedObject, $set);
    }