Runtime
Less than 1 minute
Runtime
Properties
instances
private array $instances
path
private string $path
Methods
__construct
private __construct(string $path): void
Parameters
Parameter | Type | Description |
---|---|---|
$path | string |
getInstance
public getInstance(string $name = 'hazaar'): self
Parameters
Parameter | Type | Description |
---|---|---|
$name | string |
createInstance
public createInstance(string $path, string $name = 'hazaar'): self
Parameters
Parameter | Type | Description |
---|---|---|
$path | string | |
$name | string |
getPath
public getPath(?string $pathSuffix, bool $createDir): string
Parameters
Parameter | Type | Description |
---|---|---|
$pathSuffix | string | |
$createDir | bool |
Generated by Hazaar API Doc Generator