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.
파일 보기 프로젝트 열기: zendframework/zend-expressive

공개 메소드들

메소드 설명
__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