protected function createFileDriver()
    {
        $path   = $this->config['files'];

        $fileSystem = Helper::getFileSystem();

        if (!$fileSystem->isDirectory($path)) {
            throw new SessionException("session path({$path}) is not exists.");
        }

        return new FileSessionHandler($fileSystem, $path);
    }
protected function createFileDriver()
    {
        $path   = $this->config['files'];

        $fileSystem = Helper::getFileSystem();

        if (!$fileSystem->isDirectory($path)) {
            throw new SessionException("session path({$path}) is not exists.");
        }

        return new FileSessionHandler($fileSystem, $path);
    }
protected function createFileDriver ( ) { $ path = $ this -> config [ 'files' ] ; $ fileSystem = Helper :: getFileSystem ( ) ; if ( ! $ fileSystem -> isDirectory ( $ path ) ) { throw new SessionException ( "session path({$path}) is not exists." ) ; } return new FileSessionHandler ( $ fileSystem , $ path ) ; }
create file session driver
throw SessionException when session save path is not exists

@return FileSessionHandler
@throws SessionException
create file session driver throw SessionException when session save path is not exists