PHP 8.3.31
Preview: SessionServiceProvider.php Size: 1.45 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Session/SessionServiceProvider.php

<?php

namespace Illuminate\Session;

use Illuminate\Contracts\Cache\Factory as CacheFactory;
use Illuminate\Session\Middleware\StartSession;
use Illuminate\Support\ServiceProvider;

class SessionServiceProvider extends ServiceProvider
{
    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->registerSessionManager();

        $this->registerSessionDriver();

        $this->app->singleton(StartSession::class, function ($app) {
            return new StartSession($app->make(SessionManager::class), function () use ($app) {
                return $app->make(CacheFactory::class);
            });
        });
    }

    /**
     * Register the session manager instance.
     *
     * @return void
     */
    protected function registerSessionManager()
    {
        $this->app->singleton('session', function ($app) {
            return new SessionManager($app);
        });
    }

    /**
     * Register the session driver instance.
     *
     * @return void
     */
    protected function registerSessionDriver()
    {
        $this->app->singleton('session.store', function ($app) {
            // First, we will create the session manager which is responsible for the
            // creation of the various session drivers when they are needed by the
            // application instance, and will resolve them on a lazy load basis.
            return $app->make('session')->driver();
        });
    }
}

Directory Contents

Dirs: 2 × Files: 15

Name Size Perms Modified Actions
Console DIR
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
- drwxrwxrwx 2025-09-17 06:52:58
Edit Download
2.57 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.90 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.12 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
2.88 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
6.98 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.73 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
254 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
2.52 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
986 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
7.10 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
1.45 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
17.56 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
3.46 KB lrw-rw-rw- 2025-09-17 06:52:58
Edit Download
112 B lrw-rw-rw- 2025-09-17 06:52:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).