doCallsOn() публичный Метод

Do calls on the already hydrated object.
public doCallsOn ( Nelmio\Alice\ObjectInterface $object, ResolvedFixtureSet $fixtureSet ) : ResolvedFixtureSet
$object Nelmio\Alice\ObjectInterface Hydrated object
$fixtureSet ResolvedFixtureSet
Результат ResolvedFixtureSet Set containing the object on which the calls have been made.
Пример #1
0
 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);
 }