Root implements Root
Interfaces, Classes and Traits
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
Methods
__construct()
Create a new Roots/Paths repository.
public
__construct([array<string|int, mixed> $items = [] ]) : void
Parameters
- $items : array<string|int, mixed> = []
Tags
Return values
void —get()
Get the specified path value.
public
get(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
Tags
Return values
mixed —paths()
Get the path.
private
paths() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —root()
Return the root path of app.
private
root() : string