ObjectMixin
class ObjectMixin
Nette\Object behaviour mixin.
Methods
Static class - cannot be instantiated.
__call() implementation.
__callStatic() implementation.
__get() implementation.
__set() implementation.
__unset() implementation.
__isset() implementation.
Returns array of magic methods defined by annotation @method.
Finds whether a variable is of expected type and do non-data-loss conversion.
Adds a method to class.
Returns extension method.
Returns extension methods.
Finds the best suggestion (for 8-bit encoding).
Details
at line 32
final
__construct()
Static class - cannot be instantiated.
at line 46
static mixed
call($_this, $name, $args)
__call() implementation.
at line 113
static void
callStatic($class, $method, $args)
__callStatic() implementation.
at line 130
static mixed
get($_this, $name)
__get() implementation.
at line 186
static void
set($_this, $name, $value)
__set() implementation.
at line 221
static void
remove($_this, $name)
__unset() implementation.
at line 236
static bool
has($_this, $name)
__isset() implementation.
at line 285
static array
getMagicMethods($class)
Returns array of magic methods defined by annotation @method.
at line 323
static bool
checkType($val, $type)
internal |
Finds whether a variable is of expected type and do non-data-loss conversion.
at line 392
static void
setExtensionMethod($class, $name, $callback)
Adds a method to class.
at line 406
static mixed
getExtensionMethod($class, $name)
Returns extension method.
at line 428
static array
getExtensionMethods($class)
Returns extension methods.
at line 445
static string|null
getSuggestion(array $items, $value)
internal |
Finds the best suggestion (for 8-bit encoding).