class Session implements ExtenderInterface

Methods

driver(string $name, string $driverClass)

<p>Register a new session driver.</p>

extend(Container $container, Extension $extension = null)

No description

Details

Session driver(string $name, string $driverClass)

<p>Register a new session driver.</p>

<p>A driver can currently be selected by setting <code>session.driver</code> in <code>config.php</code>.</p>

Parameters

string $name
string $driverClass

Return Value

Session

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension