Extension
Less than 1 minute
Extension
interface ExtensionMethods
listExtensions
List all available extensions.
public listExtensions(): arrayReturns: array
extensionExists
Check if an extension exists.
public extensionExists(string $name): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$name | string |
createExtension
Create an extension.
public createExtension(string $name): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$name | string |
dropExtension
Drop an extension.
public dropExtension(string $name, bool $ifExists): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$name | string | |
$ifExists | bool |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000