ReflectionMethod::createFromMethodName
Tworzy obiekt ReflectionMethod
&reftitle.description;
public static staticReflectionMethod::createFromMethodName
stringmethod
Tworzy obiekt ReflectionMethod.
&reftitle.parameters;
method
Nazwa klasy i nazwa metody oddzielone ::.
&reftitle.returnvalues;
Zwraca nowy obiekt ReflectionMethod w razie powodzenia.
&reftitle.errors;
Rzuca ReflectionException jeśli podana metoda nie istnieje.
&reftitle.examples;
Przykład użycia ReflectionMethod::createFromMethodName
]]>
&example.outputs;
string(3) "bar"
["class"]=>
string(3) "Foo"
}
]]>