Skip to content

Configuration

  • Full name: \Qubus\Config\Configuration

Properties

env

public static array $env
  • This property is static.

paths

protected ?\Qubus\Config\Path\PathCollection $paths

dotenv

protected ?\Dotenv\Dotenv $dotenv

environment

protected ?string $environment

Methods

__construct

public __construct(array|\Qubus\Config\Configuration $config): mixed

Parameters:

Parameter Type Description
$config array|\Qubus\Config\Configuration

Throws:


getPaths

public getPaths(): \Qubus\Config\Path\PathCollection

setPaths

public setPaths(\Qubus\Config\Path\PathCollection $pathCollection): $this

Parameters:

Parameter Type Description
$pathCollection \Qubus\Config\Path\PathCollection

setEnvironment

public setEnvironment(?string $environment = null): $this

Parameters:

Parameter Type Description
$environment ?string

removeEnvironment

public removeEnvironment(): $this

getEnvironment

public getEnvironment(): ?string

getDotenv

public getDotenv(): ?\Dotenv\Dotenv

setDotenv

public setDotenv(\Dotenv\Dotenv $dotenv): $this

Parameters:

Parameter Type Description
$dotenv \Dotenv\Dotenv

loadDotenv

private loadDotenv(): array


Automatically generated on 2025-10-13