PHP Class Opis\Closure\Analyzer

Inheritance: extends SuperClosure\Analyzer\ClosureAnalyzer
ファイルを表示 Open project: opis/closure

Public Methods

Method Description
analyze ( Closure $closure ) : array Analyzer a given closure.

Protected Methods

Method Description
determineCode ( array &$data ) : mixed
determineContext ( array &$data ) : mixed

Method Details

analyze() public method

Analyzer a given closure.
public analyze ( Closure $closure ) : array
$closure Closure
return array

determineCode() protected method

protected determineCode ( array &$data ) : mixed
$data array
return mixed

determineContext() protected method

protected determineContext ( array &$data ) : mixed
$data array
return mixed