ReflectionClass::getConstructor
Sınıfın kurucusunu döndürür
&reftitle.description;
public ReflectionMethodnullReflectionClass::getConstructor
Sınıf kurucusunu döndürür.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Sınıfın kurucusunu yansıtan ReflectionMethod nesnesi.
Sınıfın kurucusu yoksa &null; döner.
&reftitle.examples;
- ReflectionClass::getConstructor kullanımı
getConstructor();
var_dump($constructor);
?>
]]>
&example.outputs;
string(11) "__construct"
["class"]=>
string(15) "ReflectionClass"
}
]]>
&reftitle.seealso;
ReflectionClass::getName