ReflectionClass::__construct Constructs a ReflectionClass &reftitle.description; public ReflectionClass::__construct mixedargument Constructs a new ReflectionClass object. &reftitle.parameters; argument Either a string containing the name of the class to reflect, or an object. &reftitle.returnvalues; Returns constructed ReflectionClass instance. &reftitle.errors; Throws ReflectionException if the class to reflect does not exist. &reftitle.examples; Basic usage ReflectionClass ]]> &example.outputs.similar; class Exception ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [7] { Property [ protected $message ] Property [ private $string ] Property [ protected $code ] Property [ protected $file ] Property [ protected $line ] Property [ private $trace ] Property [ private $previous ] } - Methods [10] { Method [ final private method __clone ] { } Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] Parameter #1 [ $code ] Parameter #2 [ $previous ] } } Method [ final public method getMessage ] { } Method [ final public method getCode ] { } Method [ final public method getFile ] { } Method [ final public method getLine ] { } Method [ final public method getTrace ] { } Method [ final public method getPrevious ] { } Method [ final public method getTraceAsString ] { } Method [ public method __toString ] { } } } ]]> &reftitle.seealso; ReflectionObject::__construct Constructors