\Pop\Code\ReflectionFunctionReflection

Function reflection code class

Summary

Methods
Properties
Constants
parse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

parse()

parse(mixed  $code, string  $name = null) : \Pop\Code\Generator\FunctionGenerator

Method to parse a function or closure

Parameters

mixed $code
string $name

Throws

\ReflectionException

Returns

\Pop\Code\Generator\FunctionGenerator