ReflectionType::allowsNull

(PHP 7) Checks if null is allowed public bool ReflectionType::allowsNull ( void ) Checks whether the parameter allows NULL. Returns: TRUE if NULL is allowed, otherwise FALSE Examples: ReflectionType::allowsNull() example <?php function someFunction(string $param, StdClass $param2 = null) {} $reflectionFunc = new Refle

ReflectionProperty::__toString

(PHP 5, PHP 7) To string public string ReflectionProperty::__toString ( void ) To string. Returns: This function is currently not documented; only its argument list is available. See also: __toString() -

ReflectionProperty::setValue

(PHP 5, PHP 7) Set property value public void ReflectionProperty::setValue ( object $object, mixed $value ) public void ReflectionProperty::setValue ( mixed $value ) Sets (changes) the property's value. Parameters: object If the property is non-static an object must be provided to change the property on. If the property is static this parameter is left out and only valu

ReflectionProperty::setAccessible

(PHP 5 >= 5.3.0, PHP 7) Set property accessibility public void ReflectionProperty::setAccessible ( bool $accessible ) Sets a property to be accessible. For example, it may allow protected and private properties to be accessed. Parameters: accessible TRUE to allow accessibility, or FALSE. Returns: No value is returned.

ReflectionProperty::isStatic

(PHP 5, PHP 7) Checks if property is static public bool ReflectionProperty::isStatic ( void ) Checks whether the property is static. Returns: TRUE if the property is static, FALSE otherwise. See also: ReflectionProperty::isPublic() - ReflectionProperty::isProtected() -

ReflectionProperty::isPublic

(PHP 5, PHP 7) Checks if property is public public bool ReflectionProperty::isPublic ( void ) Checks whether the property is public. Returns: TRUE if the property is public, FALSE otherwise. See also: ReflectionProperty::isProtected() - ReflectionProperty::isPrivate() -

ReflectionProperty::isProtected

(PHP 5, PHP 7) Checks if property is protected public bool ReflectionProperty::isProtected ( void ) Checks whether the property is protected. Returns: TRUE if the property is protected, FALSE otherwise. See also: ReflectionProperty::isPublic() - ReflectionProperty::isPrivate() -

ReflectionProperty::isPrivate

(PHP 5, PHP 7) Checks if property is private public bool ReflectionProperty::isPrivate ( void ) Checks whether the property is private. Returns: TRUE if the property is private, FALSE otherwise. See also: ReflectionProperty::isPublic() - ReflectionProperty::isProtected() -

ReflectionProperty::isDefault

(PHP 5, PHP 7) Checks if property is a default property public bool ReflectionProperty::isDefault ( void ) Checks whether the property was declared at compile-time, or whether the property was dynamically declared at run-time. Returns: TRUE if the property was declared at compile-time, or FALSE if it was created at run-time. Examples:

ReflectionProperty::getValue

(PHP 5, PHP 7) Gets value public mixed ReflectionProperty::getValue ([ object $object ] ) Gets the property's value. Parameters: object If the property is non-static an object must be provided to fetch the property from. If you want to fetch the default property without providing an object use ReflectionClass::getDefaultProperties() instead. Returns: