Skip to content

RegisterProviders

  • Full name: \Codefy\Framework\Bootstrap\RegisterProviders
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

merge

protected static array $merge
  • This property is static.

bootstrapProviderPath

The path to the bootstrap provider configuration file.

protected static string|null $bootstrapProviderPath
  • This property is static.

providers

public static array $providers
  • This property is static.

Methods

bootstrap

public bootstrap(\Codefy\Framework\Application $app): void

Parameters:

Parameter Type Description
$app \Codefy\Framework\Application

Throws:


mergeAdditionalProviders

Merge additional configured providers into the configuration.

protected mergeAdditionalProviders(\Codefy\Framework\Application $app): void

Parameters:

Parameter Type Description
$app \Codefy\Framework\Application

Throws:


merge

Merge the given providers into the provider configuration before registration.

public static merge(array $providers, string|null $bootstrapProviderPath = null): void
  • This method is static.

Parameters:

Parameter Type Description
$providers array
$bootstrapProviderPath string|null

flushState

public static flushState(): void
  • This method is static.


Automatically generated on 2025-10-13