concrete/src/Session/SessionFactory.php
protected function getDatabaseHandler(array $config)
    {
        return $this->app->make(PdoSessionHandler::class, [
            $this->app->make(Connection::class)->getWrappedConnection(),
            [
                'db_table' => 'Sessions',
                'db_id_col' => 'sessionID',
                'db_data_col' => 'sessionValue',
                'db_time_col' => 'sessionTime',
                'db_lifetime_col' => 'sessionLifeTime',
                'lock_mode' => PdoSessionHandler::LOCK_ADVISORY,
            ],
        ]);
    }
protected function getDatabaseHandler(array $config)
    {
        return $this->app->make(PdoSessionHandler::class, [
            $this->app->make(Connection::class)->getWrappedConnection(),
            [
                'db_table' => 'Sessions',
                'db_id_col' => 'sessionID',
                'db_data_col' => 'sessionValue',
                'db_time_col' => 'sessionTime',
                'db_lifetime_col' => 'sessionLifeTime',
                'lock_mode' => PdoSessionHandler::LOCK_ADVISORY,
            ],
        ]);
    }
protected function getDatabaseHandler ( array $ config ) { return $ this -> app -> make ( PdoSessionHandler :: class , [ $ this -> app -> make ( Connection :: class ) -> getWrappedConnection ( ) , [ 'db_table' => 'Sessions' , 'db_id_col' => 'sessionID' , 'db_data_col' => 'sessionValue' , 'db_time_col' => 'sessionTime' , 'db_lifetime_col' => 'sessionLifeTime' , 'lock_mode' => PdoSessionHandler :: LOCK_ADVISORY , ] , ] ) ; }
Create a new database session handler to handle session.

@param array $config The `concrete.session` config item

@return \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
Create a new database session handler to handle session .