PHP Interface Pinq\Parsing\IFunctionInterpreter

Author: Elliot Levin ([email protected])
Show file Open project: timetoogo/pinq Interface Usage Examples

Public Methods

Method Description
getReflection ( callable $function ) : Pinq\Parsing\IFunctionReflection Gets the reflection for the supplied function.
getStructure ( Pinq\Parsing\IFunctionReflection $reflection ) : Pinq\Parsing\IFunctionStructure Gets the structure for the supplied function.

Method Details

getReflection() public method

Gets the reflection for the supplied function.
public getReflection ( callable $function ) : Pinq\Parsing\IFunctionReflection
$function callable
return Pinq\Parsing\IFunctionReflection

getStructure() public method

Magic constants (__DIR__, __FILE__...) will be resolved to their appropriate value. Scoped class keywords/constants (static::, self::, parent::) will be resolved to their fully qualified name.
public getStructure ( Pinq\Parsing\IFunctionReflection $reflection ) : Pinq\Parsing\IFunctionStructure
$reflection Pinq\Parsing\IFunctionReflection
return Pinq\Parsing\IFunctionStructure