Nelmio\Alice\Generator\Instantiator\Chainable\AbstractChainableInstantiator::createInstance PHP Method

createInstance() abstract protected method

abstract protected createInstance ( Nelmio\Alice\FixtureInterface $fixture ) : object
$fixture Nelmio\Alice\FixtureInterface
return object
    protected abstract function createInstance(FixtureInterface $fixture);

Usage Example

 /**
  * @inheritdoc
  */
 protected function createInstance(FixtureInterface $fixture)
 {
     return $this->instantiator->createInstance($fixture);
 }
AbstractChainableInstantiator