Class ObjectHelpers
Nette\SmartObject helpers.
-
Nette\Utils\ObjectHelpers
uses
Nette\StaticClass
Methods summary
public static
|
|
public static
|
|
public static
|
#
strictCall( $class, $method, $additionalMethods = [] )
|
public static
|
|
public static
array
|
#
getMagicProperties( $class )
Returns array of magic properties defined by annotation @property.
Returns array of magic properties defined by annotation @property.
Returns
array of [name => bit mask]
Internal
|
public static
|
#
getSuggestion( array $possibilities, $value )
Finds the best suggestion (for 8-bit encoding).
Finds the best suggestion (for 8-bit encoding).
Parameters
Internal
|
public static
boolean|string
|
#
hasProperty( $class, $name )
Checks if the public non-static property exists.
Checks if the public non-static property exists.
Returns
boolean|string returns 'event' if the property exists and has event like name
Internal
|