PHP 클래스 Kahlan\Jit\Patcher\Rebase

파일 보기 프로젝트 열기: crysalead/kahlan

공개 메소드들

메소드 설명
findFile ( object $loader, string $class, string $file ) : string The JIT find file patcher.
patchable ( string $class ) : boolean The JIT patchable checker.
process ( object $node, string $path = null ) : object The JIT patcher.

보호된 메소드들

메소드 설명
_processTree ( array $parent, string $path ) Helper for Rebase::process().

메소드 상세

_processTree() 보호된 메소드

Helper for Rebase::process().
protected _processTree ( array $parent, string $path )
$parent array The node instance tor process.
$path string The file path of the source code.

findFile() 공개 메소드

The JIT find file patcher.
public findFile ( object $loader, string $class, string $file ) : string
$loader object The autloader instance.
$class string The fully-namespaced class name.
$file string The correponding finded file path.
리턴 string The patched file path.

patchable() 공개 메소드

The JIT patchable checker.
public patchable ( string $class ) : boolean
$class string The fully-namespaced class name to check.
리턴 boolean

process() 공개 메소드

The JIT patcher.
public process ( object $node, string $path = null ) : object
$node object The node instance to patch.
$path string The file path of the source code.
리턴 object The patched node.