ProxiedMethodReturnExpression
in package
Utility class to generate return expressions in method, given a method signature.
This is required since return expressions may be forbidden by the method signature (void).
Table of Contents
- generate() : string
Methods
generate()
public
static generate(string $returnedValueExpression, ReflectionMethod|null $originalMethod) : string
Parameters
- $returnedValueExpression : string
- $originalMethod : ReflectionMethod|null