public function __construct(SessionInterface $session, ConnectionInterface $connection)
 {
     parent::__construct($session);
     $driver = $connection->driver();
     if ($driver && $driver != 'none') {
         $this->pdo = $connection->getPdo();
     }
 }