Documentation

Root implements Root

Interfaces, Classes and Traits

Root

Table of Contents

$items  : array<string|int, mixed>
All of the configuration items.
__construct()  : void
Create a new Roots/Paths repository.
get()  : mixed
Get the specified path value.
paths()  : array<string|int, mixed>
Get the path.
root()  : string
Return the root path of app.

Properties

$items

All of the configuration items.

protected array<string|int, mixed> $items = []
Tags
since
1.0.0

Methods

__construct()

Create a new Roots/Paths repository.

public __construct([array<string|int, mixed> $items = [] ]) : void
Parameters
$items : array<string|int, mixed> = []
Tags
since
1.0.0
Return values
void

get()

Get the specified path value.

public get(string $key[, mixed $default = null ]) : mixed
Parameters
$key : string
$default : mixed = null
Tags
since
1.0.0
Return values
mixed

paths()

Get the path.

private paths() : array<string|int, mixed>
Tags
since
1.9.7
Return values
array<string|int, mixed>

root()

Return the root path of app.

private root() : string
Tags
since
1.9.1
Return values
string

Search results