src/Jit/Patchers.php
public function process($code, $path = null)
    {
        if (!$code) {
            return '';
        }
        $nodes = Parser::parse($code, ['path' => $path]);
        foreach ($this->_patchers as $patcher) {
            $patcher->process($nodes, $path);
        }
        return Parser::unparse($nodes);
    }
public function process($code, $path = null)
    {
        if (!$code) {
            return '';
        }
        $nodes = Parser::parse($code, ['path' => $path]);
        foreach ($this->_patchers as $patcher) {
            $patcher->process($nodes, $path);
        }
        return Parser::unparse($nodes);
    }
public function process ( $ code , $ path = null ) { if ( ! $ code ) { return '' ; } $ nodes = Parser :: parse ( $ code , [ 'path' => $ path ] ) ; foreach ( $ this -> _patchers as $ patcher ) { $ patcher -> process ( $ nodes , $ path ) ; } return Parser :: unparse ( $ nodes ) ; }
Runs file patchers.

@param  string $code The source code to process.
@param  string $path The file path of the source code.
@return string       The patched source code.
Runs file patchers .