ReflectionClass::getConstructor
Gets the constructor of the class
&reftitle.description;
public ReflectionMethod ReflectionClass::getConstructor
Gets the constructor of the reflected class.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
A ReflectionMethod object reflecting the class' constructor, or &null; if the class
has no constructor.
&reftitle.examples;
Basic usage of ReflectionClass::getConstructor
getConstructor();
var_dump($constructor);
?>
]]>
&example.outputs;
string(11) "__construct"
["class"]=>
string(15) "ReflectionClass"
}
]]>
&reftitle.seealso;
ReflectionClass::getName