PHP Class Zend\Mvc\Service\ResponseFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Afficher le fichier Open project: zendframework/zend-mvc

Méthodes publiques

Méthode Description
__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.

Method Details

__invoke() public méthode

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
Résultat Zend\Http\PhpEnvironment\Response

createService() public méthode

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Zend\Http\PhpEnvironment\Response
$container Zend\ServiceManager\ServiceLocatorInterface
Résultat Zend\Http\PhpEnvironment\Response