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

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

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

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Application Create the Application service (v3)
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Application Create the Application service (v2)

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

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

Creates a Zend\Mvc\Application service, passing it the configuration service and the service manager instance.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : Application
$container Interop\Container\ContainerInterface
$name string
$options array
Результат Zend\Mvc\Application

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

Proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : Application
$container Zend\ServiceManager\ServiceLocatorInterface
Результат Zend\Mvc\Application