SecureDelegatorFactory
in package
implements
DelegatorFactoryInterface
Secure session delegator factory
Tags
Interfaces, Classes, Traits and Enums
- DelegatorFactoryInterface
Table of Contents
- __invoke() : SecureDelegator
- Invokes this factory.
- delegate() : HandlerInterface
- Creates the delegating session handler
Methods
__invoke()
Invokes this factory.
public
__invoke(ContainerInterface $container, string $name, callable $callback[, array<string|int, mixed>|null $options = null ]) : SecureDelegator
Parameters
- $container : ContainerInterface
-
Service container
- $name : string
-
Service name
- $callback : callable
-
Service callback
- $options : array<string|int, mixed>|null = null
-
Service options
Tags
Return values
SecureDelegator —delegate()
Creates the delegating session handler
protected
delegate(ContainerInterface $container, HandlerInterface $handler) : HandlerInterface
Parameters
- $container : ContainerInterface
-
Service Container
- $handler : HandlerInterface
-
Wrapped session handler