public function PhpBridgeSessionStorage::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.php \Symfony\Component\HttpFoundation\Session\Storage\PhpBridgeSessionStorage::__construct()
Constructor.
Parameters
AbstractProxy|NativeSessionHandler|\SessionHandlerInterface|null $handler:
MetadataBag $metaBag MetadataBag:
Overrides NativeSessionStorage::__construct
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ PhpBridgeSessionStorage.php, line 30
Class
- PhpBridgeSessionStorage
- Allows session to be started by PHP and managed by Symfony.
Namespace
Symfony\Component\HttpFoundation\Session\StorageCode
public function __construct($handler = null, MetadataBag $metaBag = null) {
$this
->setMetadataBag($metaBag);
$this
->setSaveHandler($handler);
}