|
ReflectionMethod::__toStringReturns the string representation of the Reflection method object Description
public string ReflectionMethod::__toString()
Returns the string representation of the Reflection method object. ParametersThis function has no parameters. Return ValuesA string representation of this ReflectionMethod instance. Examples
Example #1 ReflectionMethod::__toString example
The above example will output: Method [ <user> public method sayHelloTo ] { @@ /var/www/examples/reflection.php 16 - 18 - Parameters [1] { Parameter #0 [ <required> $name ] } } |