src/Session.php
public function initialize()
    {
        $this->checkClassExistence();

        $this->checkClassType();

        $className = $this->driverClass;
        return new $className($this->options);
    }
public function initialize()
    {
        $this->checkClassExistence();

        $this->checkClassType();

        $className = $this->driverClass;
        return new $className($this->options);
    }
Initializes a new session driver

@return SessionDriverInterface

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