Documentation

Session extends Config
in package

FinalYes
Tags
author

Ramone Burrell ramone@ramoneburrell.com

since

Version 0.1.0

Table of Contents

Properties

$configuration_groups  : array<string|int, mixed>
$configurations  : array<string|int, mixed>
$is_loaded  : bool
Whether or not the configurations for this class has been loaded
$hashCode  : int
$hashCounter  : int

Methods

__call()  : mixed
__callStatic()  : mixed
__construct()  : mixed
__destruct()  : mixed
__get()  : mixed
extends()  : bool
get()  : mixed
getAll()  : array<string|int, mixed>
getRaw()  : string|null
getReflection()  : ReflectionClass
init()  : mixed
getConfigurationGroups()  : array<string|int, mixed>
load()  : void
loadConfigurationGroup()  : void
recursiveGet()  : string|array<string|int, mixed>

Properties

$configuration_groups

protected static array<string|int, mixed> $configuration_groups = []

$configurations

protected static array<string|int, mixed> $configurations = array()

$is_loaded

Whether or not the configurations for this class has been loaded

protected static bool $is_loaded = false

Methods

__callStatic()

public static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : mixed
$arguments : array<string|int, mixed>

__get()

public __get(string $property) : mixed
Parameters
$property : string

extends()

public extends(ReflectionClass $reflector) : bool
Parameters
$reflector : ReflectionClass
Return values
bool

get()

public static get(string $name) : mixed
Parameters
$name : string
Tags
access

public

getAll()

public static getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRaw()

public static getRaw() : string|null
Return values
string|null

getReflection()

public getReflection() : ReflectionClass
Return values
ReflectionClass

getConfigurationGroups()

private static getConfigurationGroups() : array<string|int, mixed>
Tags
throws
InvalidStateException
Return values
array<string|int, mixed>

load()

private static load(string $environment[, string $configuration_group = null ]) : void
Parameters
$environment : string
$configuration_group : string = null
Tags
access

private

loadConfigurationGroup()

private static loadConfigurationGroup(string $environment, string $configuration_group) : void
Parameters
$environment : string
$configuration_group : string
Tags
throws
InvalidStateException

recursiveGet()

private static recursiveGet(string $name_parts, array<string|int, mixed> $configurations) : string|array<string|int, mixed>
Parameters
$name_parts : string
$configurations : array<string|int, mixed>
Tags
access

private

throws
IllegalArgumentException
Return values
string|array<string|int, mixed>

        
On this page

Search results