Zend\Mvc\Service\ResponseFactory::createService PHP Method

createService() public method

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\Http\PhpEnvironment\Response
$container Zend\ServiceManager\ServiceLocatorInterface
return Zend\Http\PhpEnvironment\Response
    public function createService(ServiceLocatorInterface $container)
    {
        return $this($container, 'Response');
    }