Provides methods for reflective use on php objects
Located in /LoggerReflectionUtils.php (line 25)
Creates an instances from the given class name.
Set the properties of an object passed as a parameter in one go. The
Create a new LoggerReflectionUtils for the specified Object.
This is done in prepartion for invoking setProperty() one or more times.
Set the properites for the object that match the
Example:
$arr['xxxname'] = 'Joe'; $arr['xxxmale'] = true; and prefix xxx causes setName and setMale.
Set a property on this PropertySetter's Object. If successful, this
method will invoke a setter method on the underlying Object. The setter is the one for the specified property name and the value is determined partly from the setter argument type and partly from the value specified in the call to this method.
<p>If the setter expects a String no conversion is necessary. If it expects an int, then an attempt is made to convert 'value' to an int using new Integer(value). If the setter expects a boolean, the conversion is by new Boolean(value).
Documentation generated on Sat, 18 Feb 2012 22:32:26 +0000 by phpDocumentor 1.4.3