Skip to content

registerExtension()

Register a HydePHP extension within the HydeKernel.

Typically, you would call this method in the register method of a service provider. If your package uses the standard Laravel (Composer) package discovery feature, the extension will automatically be enabled when the package is installed.

Hyde::registerExtension(class-string<\Hyde\Foundation\Concerns\HydeExtension> $extension): void

getExtension()

Get the singleton instance of the specified extension.

Hyde::getExtension(class-string<T> $extension): T

hasExtension()

Determine if the specified extension is registered.

Hyde::hasExtension(class-string<\Hyde\Foundation\Concerns\HydeExtension> $extension): bool

getExtensions()

No description provided.

Hyde::getExtensions(): array<\Hyde\Foundation\Concerns\HydeExtension>

getRegisteredExtensions()

No description provided.

Hyde::getRegisteredExtensions(): array<class-string<\Hyde\Foundation\Concerns\HydeExtension>>

getRegisteredPageClasses()

No description provided.

Hyde::getRegisteredPageClasses(): array<class-string<\Hyde\Pages\Concerns\HydePage>>