for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/nnx-framework/doctrine-fixture-module
* @author Malofeykin Andrey <[email protected]>
*/
namespace Nnx\DoctrineFixtureModule\FixtureInitializer;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\MutableCreationOptionsInterface;
use Zend\ServiceManager\MutableCreationOptionsTrait;
use Zend\ServiceManager\ServiceLocatorInterface;
* Class ObjectManagerNameInitializer
*
* @package Nnx\DoctrineFixtureModule\FixtureInitializer
class ObjectManagerNameInitializerFactory implements FactoryInterface, MutableCreationOptionsInterface
{
use MutableCreationOptionsTrait;
* @inheritDoc
public function createService(ServiceLocatorInterface $serviceLocator)
$context = $this->getCreationOptions();
return new ObjectManagerNameInitializer($context);
}