for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PlaygroundGame\Service\Factory;
use PlaygroundGame\Service\MissionGame;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class MissionGameFactory implements FactoryInterface
{
/**
* @param ServiceLocatorInterface $locator
* @return \PlaygroundGame\Service\MissionGame
*/
public function createService(ServiceLocatorInterface $locator)
$service = new MissionGame($locator);
return $service;
}