src/Session.php
public static function create($driverClass = self::DRIVER_SERVER, array $options = [])
    {
        $session = new Session($driverClass, $options);
        return $session->initialize();
    }
public static function create($driverClass = self::DRIVER_SERVER, array $options = [])
    {
        $session = new Session($driverClass, $options);
        return $session->initialize();
    }
Creates the session driver with provided options

@param string $driverClass
@param array  $options

@return SessionDriverInterface

@throws ClassNotFoundException if class does not exists
@throws InvalidDriverClassException if class does not implement the SessionDriverInterface