DbalSessionHandler

DbalSessionHandler

class DbalSessionHandler implements SessionHandlerInterface

DBAL based session storage.

This implementation is very similar to Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler but uses a Doctrine connection and thus also works with non-PDO-based drivers like mysqli and OCI8.

Methods

__construct(Connection $con, string $tableName = 'sessions')

Constructor.

open($savePath, $sessionName)

{@inheritdoc}

close()

{@inheritdoc}

destroy($ses