interface InvokableInterface
Magic handling of properties access interface
Methods
mixed |
__call(string $name, array $arguments)
Magic handler when calling a non-existing method on an object |
|
static mixed |
__callStatic(string $name, array $arguments)
Magic handler when calling a non-eixsting method statically on an object |
|
mixed |
__get(string $name)
Magic getter |
|
InvokableInterface |
__set(string $name, mixed $value)
Magic setter |
|
bool |
__isset(string $name)
Magic checker |
|
InvokableInterface |
__unset(string $name)
Magic unsetter |
Details
at line 45
public mixed
__call(string $name, array $arguments)
Magic handler when calling a non-existing method on an object
Magic method handling getProp(default)
, setProp(value)
, unsetProp()
, issetProp()
or resetProp()
;
it may dispatches to the corresponding defined magic method.
at line 58
static public mixed
__callStatic(string $name, array $arguments)
Magic handler when calling a non-eixsting method statically on an object
Magic static method handling getProp(default)
, setProp(value)
, unsetProp()
, issetProp()
or resetProp()
;
it may dispatches to the corresponding defined magic method.
at line 69
public mixed
__get(string $name)
Magic getter
Magic method called when $this->prop
is invoked.
at line 81
public InvokableInterface
__set(string $name, mixed $value)
Magic setter
Magic method called when $this->arg = value
is invoked.
at line 92
public bool
__isset(string $name)
Magic checker
Magic method called when isset($this->prop)
or empty($this->prop)
are invoked.
at line 103
public InvokableInterface
__unset(string $name)
Magic unsetter
Magic method called when unset($this->prop)
is invoked.