SettingWrapper
in package
implements
ArrayAccess
Wrapper for setting objects to provide QubitSetting-compatible interface
Table of Contents
Interfaces
- ArrayAccess
Methods
- __call() : mixed
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- getId() : int|null
- getName() : string|null
- getScope() : string|null
- getSlug() : string|null
- getSourceCulture() : string|null
- getValue() : string|null
- isDeleteable() : bool
- isEditable() : bool
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
Methods
__call()
public
__call(string $method, array<string|int, mixed> $args) : mixed
Parameters
- $method : string
- $args : array<string|int, mixed>
__construct()
public
__construct(object $setting) : mixed
Parameters
- $setting : object
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolgetId()
public
getId() : int|null
Return values
int|nullgetName()
public
getName() : string|null
Return values
string|nullgetScope()
public
getScope() : string|null
Return values
string|nullgetSlug()
public
getSlug() : string|null
Return values
string|nullgetSourceCulture()
public
getSourceCulture() : string|null
Return values
string|nullgetValue()
public
getValue([array<string|int, mixed> $options = [] ]) : string|null
Parameters
- $options : array<string|int, mixed> = []
Return values
string|nullisDeleteable()
public
isDeleteable() : bool
Return values
boolisEditable()
public
isEditable() : bool
Return values
booloffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed