ClassUtility class.
Methods
Create an instance of an class or return it if it's declared as SingletonInterface.
makeInstance(string $className) : mixed
static
Match the values of an array to an object.
setPropertiesFromArray(mixed $object, array $options) : void
static
Set object property.
setProperty(mixed $object, mixed $propertyName, mixed $propertyValue) : void
static
Check if a property exists.
propertyExists(mixed $object, mixed $propertyName) : void
static
Unset a property.
unsetProperty(mixed $object, mixed $propertyName) : void
static
Get a property's value.
getProperty(mixed $object, mixed $propertyName) : string
static
Arguments
Response
string
Check if a method exists.
methodExists(mixed $object, string $methodName, boolean $strict = TRUE) : void
static
Call a method of an object.
callMethod(array $callback, array $arguments) : void
static
Properties
singletonInstances
singletonInstances : array
static