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