ReflectionClass::getTraitNames

(PHP >= 5.4.0) Returns an array of names of traits used by this class public array ReflectionClass::getTraitNames ( void ) Returns: Returns an array with trait names in values. Returns NULL in case of an error. This function is currently not documented; only its argument list is available.

ReflectionClass::getTraitAliases

(PHP >= 5.4.0) Returns an array of trait aliases public array ReflectionClass::getTraitAliases ( void ) Returns: Returns an array with new method names in keys and original names (in the format "TraitName::original") in values. Returns NULL in case of an error. This function is currently not documented; only its argument list is available.

ReflectionClass::getStaticPropertyValue

(PHP 5 >= 5.1.0, PHP 7) Gets static property value public mixed ReflectionClass::getStaticPropertyValue ( string $name [, mixed &$def_value ] ) Gets the value of a static property on this class. Parameters: name The name of the static property for which to return a value. def_value A default value to return in case the class does

ReflectionClass::getStaticProperties

(PHP 5, PHP 7) Gets static properties public array ReflectionClass::getStaticProperties ( void ) Get the static properties. Returns: The static properties, as an array. This function is currently not documented; only its argument list is available. See also: Reflection

ReflectionClass::getStartLine

(PHP 5, PHP 7) Gets starting line number public int ReflectionClass::getStartLine ( void ) Get the starting line number. Returns: The starting line number, as an integer. This function is currently not documented; only its argument list is available. See also: Reflecti

ReflectionClass::getShortName

(PHP 5 >= 5.3.0, PHP 7) Gets short name public string ReflectionClass::getShortName ( void ) Gets the short name of the class, the part without the namespace. Returns: The class short name. Examples: ReflectionClass::getShortName() example <?php namespace A\B; class Foo { } $function = new \ReflectionClass('stdCla

ReflectionClass::getProperty

(PHP 5, PHP 7) Gets a ReflectionProperty for a class's property public ReflectionProperty ReflectionClass::getProperty ( string $name ) Gets a ReflectionProperty for a class's property. Parameters: name The property name. Returns: A ReflectionProperty. Examples: Basic usage of Reflect

ReflectionClass::getProperties

(PHP 5, PHP 7) Gets properties public array ReflectionClass::getProperties ([ int $filter ] ) Retrieves reflected properties. Parameters: filter The optional filter, for filtering desired property types. It's configured using the ReflectionProperty constants, and defaults to all property types. Returns: An array of ReflectionProperty objects.

ReflectionClass::getParentClass

(PHP 5, PHP 7) Gets parent class public object ReflectionClass::getParentClass ( void ) Returns: A ReflectionClass. This function is currently not documented; only its argument list is available. See also: ReflectionClass::__construct() -

ReflectionClass::getNamespaceName

(PHP 5 >= 5.3.0, PHP 7) Gets namespace name public string ReflectionClass::getNamespaceName ( void ) Gets the namespace name. Returns: The namespace name. This function is currently not documented; only its argument list is available. Examples: ReflectionClass::getNamespaceName() example