PHP Класс Zend\Mvc\Service\ResponseFactory

Наследование: implements Zend\ServiceManager\FactoryInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\Http\PhpEnvironment\Response Create and return a response instance.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\Http\PhpEnvironment\Response Create and return response instance.

Описание методов

__invoke() публичный Метод

Create and return a response instance.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Zend\Http\PhpEnvironment\Response
$container Interop\Container\ContainerInterface
$name string
$options array
Результат Zend\Http\PhpEnvironment\Response

createService() публичный Метод

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\Http\PhpEnvironment\Response
$container Zend\ServiceManager\ServiceLocatorInterface
Результат Zend\Http\PhpEnvironment\Response