ObjectMixin deprecated
class ObjectMixin
deprecated
Nette\Object behaviour mixin.
Methods
No description
No description
No description
No description
__call() implementation.
__callStatic() implementation.
__get() implementation.
__set() implementation.
__unset() implementation.
__isset() implementation.
Returns array of magic properties defined by annotation @property.
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.
Finds the best suggestion (for 8-bit encoding).
Checks if the public non-static property exists.
Returns array of public (static, non-static and magic) methods.
No description
Details
at line 32
static
strictGet($class, $name)
No description
at line 46
static
strictSet($class, $name)
No description
at line 60
static
strictCall($class, $method, $additionalMethods = [])
No description
at line 78
static
strictStaticCall($class, $method)
No description
at line 99
static mixed
call($_this, $name, $args)
__call() implementation.
at line 156
static void
callStatic($class, $method, $args)
__callStatic() implementation.
at line 169
static mixed
get($_this, $name)
__get() implementation.
at line 213
static void
set($_this, $name, $value)
__set() implementation.
at line 244
static void
remove($_this, $name)
__unset() implementation.
at line 259
static bool
has($_this, $name)
__isset() implementation.
at line 274
static array
getMagicProperties($class)
Returns array of magic properties defined by annotation @property.
at line 315
static
getMagicProperty($class, $name)
internal |
No description
at line 329
static array
getMagicMethods($class)
Returns array of magic methods defined by annotation @method.
at line 369
static bool
checkType($val, $type)
internal |
Finds whether a variable is of expected type and do non-data-loss conversion.
at line 441
static void
setExtensionMethod($class, $name, $callback)
Adds a method to class.
at line 455
static mixed
getExtensionMethod($class, $name)
Returns extension method.
at line 477
static array
getExtensionMethods($class)
Returns extension methods.
at line 497
static string|null
getSuggestion(array $possibilities, $value)
internal |
Finds the best suggestion (for 8-bit encoding).
at line 535
static
hasProperty($class, $name)
internal |
Checks if the public non-static property exists.
at line 558
static array
getMethods($class)
internal |
Returns array of public (static, non-static and magic) methods.
at line 572
static
getSource()
internal |
No description
Traits
Static class.