interface RegisterInterface implements ArrayAccess

register가 구현해야 하는 인터페이스

Methods

bool
has(string $key)

Determine if the given configuration value exists.

mixed
get(string $key, mixed $default = null)

Get the specified configuration value.

void
set(array|string $key, mixed $value = null)

Set a given configuration value.

void
add(array|string $key, mixed $value)

add item 키가 없으면 등록할 수 없음 - Arr class spec 있는거을 덮어 씀

void
prepend(string $key, mixed $value)

Prepend a value onto an array configuration value.

void
push(string $key, mixed $id, mixed $value = null)

Push a value onto an array configuration value.

array
all()

Get all of the configuration items for the application.

Details

at line 38
bool has(string $key)

Determine if the given configuration value exists.

Parameters

string $key key

Return Value

bool

at line 48
mixed get(string $key, mixed $default = null)

Get the specified configuration value.

Parameters

string $key key
mixed $default default value

Return Value

mixed

at line 58
void set(array|string $key, mixed $value = null)

Set a given configuration value.

Parameters

array|string $key key
mixed $value value for setting

Return Value

void

at line 70
void add(array|string $key, mixed $value)

add item 키가 없으면 등록할 수 없음 - Arr class spec 있는거을 덮어 씀

Parameters

array|string $key key
mixed $value value for adding

Return Value

void

at line 80
void prepend(string $key, mixed $value)

Prepend a value onto an array configuration value.

Parameters

string $key key
mixed $value value for prepend

Return Value

void

at line 91
void push(string $key, mixed $id, mixed $value = null)

Push a value onto an array configuration value.

Parameters

string $key key
mixed $id pushed data's id
mixed $value pushed data's value

Return Value

void

at line 98
array all()

Get all of the configuration items for the application.

Return Value

array