PHP Class Bugsnag\BugsnagLaravel\BugsnagServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Afficher le fichier Open project: bugsnag/bugsnag-laravel

Méthodes publiques

Méthode Description
boot ( ) : void Boot the service provider.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Méthodes protégées

Méthode Description
formatQuery ( string $sql, array $bindings, float $time, string $connection ) : array Format the query as breadcrumb metadata.
getGuzzle ( array $config ) : GuzzleHttp\ClientInterface Get the guzzle client instance.
setupCallbacks ( Bugsnag\Client $client, Illuminate\Contracts\Container\Container $app, array $config ) : void Setup the callbacks.
setupConfig ( Illuminate\Contracts\Container\Container $app ) : void Setup the config.
setupEvents ( Illuminate\Contracts\Events\Dispatcher $events, array $config ) : void Setup the events.
setupPaths ( Bugsnag\Client $client, string $base, string $path, string | null $strip, string | null $project ) : void Setup the client paths.
setupQueue ( Illuminate\Queue\QueueManager $queue ) : void Setup the queue.

Method Details

boot() public méthode

Boot the service provider.
public boot ( ) : void
Résultat void

formatQuery() protected méthode

Format the query as breadcrumb metadata.
protected formatQuery ( string $sql, array $bindings, float $time, string $connection ) : array
$sql string
$bindings array
$time float
$connection string
Résultat array

getGuzzle() protected méthode

Get the guzzle client instance.
protected getGuzzle ( array $config ) : GuzzleHttp\ClientInterface
$config array
Résultat GuzzleHttp\ClientInterface

provides() public méthode

Get the services provided by the provider.
public provides ( ) : array
Résultat array

register() public méthode

Register the service provider.
public register ( ) : void
Résultat void

setupCallbacks() protected méthode

Setup the callbacks.
protected setupCallbacks ( Bugsnag\Client $client, Illuminate\Contracts\Container\Container $app, array $config ) : void
$client Bugsnag\Client
$app Illuminate\Contracts\Container\Container
$config array
Résultat void

setupConfig() protected méthode

Setup the config.
protected setupConfig ( Illuminate\Contracts\Container\Container $app ) : void
$app Illuminate\Contracts\Container\Container
Résultat void

setupEvents() protected méthode

Setup the events.
protected setupEvents ( Illuminate\Contracts\Events\Dispatcher $events, array $config ) : void
$events Illuminate\Contracts\Events\Dispatcher
$config array
Résultat void

setupPaths() protected méthode

Setup the client paths.
protected setupPaths ( Bugsnag\Client $client, string $base, string $path, string | null $strip, string | null $project ) : void
$client Bugsnag\Client
$base string
$path string
$strip string | null
$project string | null
Résultat void

setupQueue() protected méthode

Setup the queue.
protected setupQueue ( Illuminate\Queue\QueueManager $queue ) : void
$queue Illuminate\Queue\QueueManager
Résultat void