October\Rain\Argon\ArgonServiceProvider

Source: ~/vendor/october/rain/src/Argon/ArgonServiceProvider.php

Extends:

Public properties

There are no public properties in the class.

Show inherited public properties

Inherited public properties

  • public static array $publishes - defined in Illuminate\Support\ServiceProvider. The paths that should be published.
  • public static array $publishGroups - defined in Illuminate\Support\ServiceProvider. The paths that should be published by group.

Protected properties

protected bool $defer

Indicates if loading of the provider is deferred.

Show inherited protected properties

Inherited protected properties

  • protected Illuminate\Contracts\Foundation\Application $app - defined in Illuminate\Support\ServiceProvider. The application instance.

Public methods

public void boot()

Bootstrap the application events.

public void register()

Register the service provider.

Show inherited public methods

Inherited public methods

  • public void __construct(Illuminate\Contracts\Foundation\Application $app) - defined in Illuminate\Support\ServiceProvider. Create a new service provider instance.
  • public void commands(array|mixed $commands) - defined in Illuminate\Support\ServiceProvider. Register the package's custom Artisan commands.
  • public bool isDeferred() - defined in Illuminate\Support\ServiceProvider. Determine if the provider is deferred.
  • public static array pathsToPublish(string $provider=NULL, string $group=NULL) - defined in Illuminate\Support\ServiceProvider. Get the paths to publish.
  • public array provides() - defined in Illuminate\Support\ServiceProvider. Get the services provided by the provider.
  • public static array publishableGroups() - defined in Illuminate\Support\ServiceProvider. Get the groups available for publishing.
  • public static array publishableProviders() - defined in Illuminate\Support\ServiceProvider. Get the service providers available for publishing.
  • public array when() - defined in Illuminate\Support\ServiceProvider. Get the events that trigger this service provider to register.

Protected methods

protected void getFallbackLocale($locale)

Split the locale and use it as the fallback.

Parameters
  • $locale

protected void setArgonLocale($locale)

Sets the locale using the correct load order.

Parameters
  • $locale

Show inherited protected methods

Inherited protected methods

  • protected void addPublishGroup(string $group, array $paths) - defined in Illuminate\Support\ServiceProvider. Add a publish group / tag to the service provider.
  • protected void ensurePublishArrayInitialized(string $class) - defined in Illuminate\Support\ServiceProvider. Ensure the publish array for the service provider is initialized.
  • protected void loadJsonTranslationsFrom(string $path) - defined in Illuminate\Support\ServiceProvider. Register a JSON translation file path.
  • protected void loadMigrationsFrom(array|string $paths) - defined in Illuminate\Support\ServiceProvider. Register a database migration path.
  • protected void loadRoutesFrom(string $path) - defined in Illuminate\Support\ServiceProvider. Load the given routes file if routes are not already cached.
  • protected void loadTranslationsFrom(string $path, string $namespace) - defined in Illuminate\Support\ServiceProvider. Register a translation file namespace.
  • protected void loadViewsFrom(string|array $path, string $namespace) - defined in Illuminate\Support\ServiceProvider. Register a view file namespace.
  • protected void mergeConfigFrom(string $path, string $key) - defined in Illuminate\Support\ServiceProvider. Merge the given configuration with the existing configuration.
  • protected static array pathsForProviderAndGroup(string $provider, string $group) - defined in Illuminate\Support\ServiceProvider. Get the paths for the provider and group.
  • protected static array pathsForProviderOrGroup(string|null $provider, string|null $group) - defined in Illuminate\Support\ServiceProvider. Get the paths for the provider or group (or both).
  • protected void publishes(array $paths, string $group=NULL) - defined in Illuminate\Support\ServiceProvider. Register paths to be published by the publish command.