ObjectMixin deprecated
class ObjectMixin
deprecated
Nette\Object behaviour mixin.
Methods
__call() implementation.
__callStatic() implementation.
__get() implementation.
__set() implementation.
__unset() implementation.
__isset() implementation.
No description
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.
Returns array of public (static, non-static and magic) methods.
No description
Details
at line 32
static
strictGet($class, $name)
deprecated
deprecated use ObjectHelpers::strictGet()
No description
at line 42
static
strictSet($class, $name)
deprecated
deprecated use ObjectHelpers::strictSet()
No description
at line 52
static
strictCall($class, $method, $additionalMethods = [])
deprecated
deprecated use ObjectHelpers::strictCall()
No description
at line 62
static
strictStaticCall($class, $method)
deprecated
deprecated use ObjectHelpers::strictStaticCall()
No description
at line 80
static mixed
call($_this, $name, $args)
__call() implementation.
at line 138
static void
callStatic($class, $method, $args)
__callStatic() implementation.
at line 152
static mixed
get($_this, $name)
__get() implementation.
at line 196
static void
set($_this, $name, $value)
__set() implementation.
at line 228
static void
remove($_this, $name)
__unset() implementation.
at line 244
static bool
has($_this, $name)
__isset() implementation.
at line 259
static
getMagicProperties($class)
deprecated
deprecated use ObjectHelpers::strictStaticCall()
No description
at line 267
static
getMagicProperty($class, $name)
internal |
No description
at line 281
static array
getMagicMethods($class)
Returns array of magic methods defined by annotation @method.
at line 322
static bool
checkType($val, $type)
internal |
Finds whether a variable is of expected type and do non-data-loss conversion.
at line 395
static void
setExtensionMethod($class, $name, $callback)
Adds a method to class.
at line 409
static mixed
getExtensionMethod($class, $name)
Returns extension method.
at line 431
static array
getExtensionMethods($class)
Returns extension methods.
at line 450
static
getSuggestion(array $possibilities, $value)
deprecated
deprecated use ObjectHelpers::getSuggestion()
No description
at line 459
static
hasProperty($class, $name)
deprecated
deprecated use ObjectHelpers::hasProperty()
No description
at line 471
static array
getMethods($class)
internal |
Returns array of public (static, non-static and magic) methods.
at line 485
static
getSource()
internal |
No description
Traits
Static class.