PHP 8.3.31
Preview: AgentServiceProvider.php Size: 711 B
/proc/thread-self/root/home/getspomw/itechservicellc.com/vendor/jenssegers/agent/src/AgentServiceProvider.php

<?php

namespace Jenssegers\Agent;

use Illuminate\Support\ServiceProvider;

class AgentServiceProvider extends ServiceProvider
{
    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    protected $defer = true;

    /**
     * Register the service provider.
     */
    public function register()
    {
        $this->app->singleton('agent', function ($app) {
            return new Agent($app['request']->server());
        });

        $this->app->alias('agent', Agent::class);
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
        return ['agent', Agent::class];
    }
}

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
Facades DIR
- drwxr-xr-x 2025-11-18 19:23:52
Edit Download
10.89 KB lrw-r--r-- 2025-10-28 20:22:16
Edit Download
711 B lrw-r--r-- 2025-10-28 20:22:16
Edit Download

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