PHP Класс Zend\Expressive\Container\WhoopsPageHandlerFactory

Register this factory as the service Zend\Expressive\WhoopsPageHandler in the container of your choice. This service has an optional dependency on the "config" service, which should return an array or ArrayAccess instance. If found, it looks for the following structure: 'whoops' => [ 'editor' => 'editor name, editor service name, or callable', ] If an editor is provided, it checks to see if it maps to a known service in the container, and will use that; otherwise, it uses the value verbatim.
Показать файл Открыть проект

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

Метод Описание
__invoke ( Interop\Container\ContainerInterface $container )

Приватные методы

Метод Описание
injectEditor ( PrettyPageHandler $handler, array | ArrayAccess $config, Interop\Container\ContainerInterface $container ) Inject an editor into the whoops configuration.

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

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

public __invoke ( Interop\Container\ContainerInterface $container )
$container Interop\Container\ContainerInterface