October\Rain\Database\DatabaseServiceProvider

Source: ~/vendor/october/rain/src/Database/DatabaseServiceProvider.php

Extends:

  • Illuminate\Database\DatabaseServiceProvider
  • Illuminate\Support\ServiceProvider

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

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

  • protected Illuminate\Contracts\Foundation\Application $app - defined in Illuminate\Support\ServiceProvider. The application instance.
  • protected bool $defer - defined in Illuminate\Support\ServiceProvider. Indicates if loading of the provider is deferred.

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 string getDefaultDatabaseDriver()

Returns the default database driver, not just the connection name.

protected void swapSchemaBuilderBlueprint()

Adds a touch of Rain to the Schema Blueprints.

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.
  • protected void registerConnectionServices() - defined in Illuminate\Database\DatabaseServiceProvider. Register the primary database bindings.
  • protected void registerEloquentFactory() - defined in Illuminate\Database\DatabaseServiceProvider. Register the Eloquent factory instance in the container.
  • protected void registerQueueableEntityResolver() - defined in Illuminate\Database\DatabaseServiceProvider. Register the queueable entity resolver implementation.