analyze()
analyze(\Closure $closure) : array
Analyzer a given closure.
Parameters
\Closure | $closure |
Throws
- \SuperClosure\Exception\ClosureAnalysisException
This is the token based analyzer.
We're using Uses reflection and tokenization to analyze a closure and determine its code and context. This is much faster than the AST based implementation.