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.
Finds the best suggestion (for 8-bit encoding).
Details
at line 34
final
__construct()
Static class - cannot be instantiated.
at line 48
static mixed
call($_this, $name, $args)
__call() implementation.
at line 109
static void
callStatic($class, $method, $args)
__callStatic() implementation.
at line 122
static mixed
get($_this, $name)
__get() implementation.
at line 167
static void
set($_this, $name, $value)
__set() implementation.
at line 197
static void
remove($_this, $name)
__unset() implementation.
at line 212
static bool
has($_this, $name)
__isset() implementation.
at line 261
static array
getMagicMethods($class)
Returns array of magic methods defined by annotation @method.
at line 299
static bool
checkType($val, $type)
internal |
Finds whether a variable is of expected type and do non-data-loss conversion.
at line 368
static void
setExtensionMethod($class, $name, $callback)
Adds a method to class.
at line 382
static mixed
getExtensionMethod($class, $name)
Returns extension method.
at line 404
static string|null
getSuggestion(array $items, $value)
internal |
Finds the best suggestion (for 8-bit encoding).