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