ObjectHelpers
final class ObjectHelpers
Nette\SmartObject helpers.
Methods
static
strictGet($class, $name)
No description
static
strictSet($class, $name)
No description
static
strictCall($class, $method, $additionalMethods = [])
No description
static
strictStaticCall($class, $method)
No description
static array
getMagicProperties($class)
Returns array of magic properties defined by annotation @property.
static
getSuggestion(array $possibilities, $value)
Finds the best suggestion (for 8-bit encoding).
static bool|string
hasProperty($class, $name)
Checks if the public non-static property exists.
Details
at line 24
static
strictGet($class, $name)
No description
at line 38
static
strictSet($class, $name)
No description
at line 52
static
strictCall($class, $method, $additionalMethods = [])
No description
at line 70
static
strictStaticCall($class, $method)
No description
at line 85
static array
getMagicProperties($class)
internal |
Returns array of magic properties defined by annotation @property.
at line 130
static
getSuggestion(array $possibilities, $value)
internal |
Finds the best suggestion (for 8-bit encoding).
at line 168
static bool|string
hasProperty($class, $name)
internal |
Checks if the public non-static property exists.
Traits
Static class.