RegisterInterface
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.
at line 48
mixed
get(string $key, mixed $default = null)
Get the specified configuration value.
at line 58
void
set(array|string $key, mixed $value = null)
Set a given configuration value.
at line 70
void
add(array|string $key, mixed $value)
add item 키가 없으면 등록할 수 없음 - Arr class spec 있는거을 덮어 씀
at line 80
void
prepend(string $key, mixed $value)
Prepend a value onto an array configuration value.
at line 91
void
push(string $key, mixed $id, mixed $value = null)
Push a value onto an array configuration value.
at line 98
array
all()
Get all of the configuration items for the application.