ReflectionGenerator::getThis
Gets the $this value of the generator
&reftitle.description;
public objectnullReflectionGenerator::getThis
Get the $this value that the generator has access to.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Returns the $this value, or &null; if the generator was
not created in a class context.
&reftitle.examples;
ReflectionGenerator::getThis example
gen();
$reflectionGen = new ReflectionGenerator($gen);
var_dump($reflectionGen->getThis());
]]>
&example.outputs.similar;
&reftitle.seealso;
ReflectionGenerator::getFunction
ReflectionGenerator::getTrace