PHP Class Transphpile\Transpile\Transpile

Inheritance: use trait Transphpile\IO\IO
Show file Open project: jaytaph/Transphpile Class Usage Examples

Public Methods

Method Description
__construct ( Transphpile\IO\IOInterface $io )
getTraverser ( ) : NodeTraverser
transpile ( $srcPath, $dstPath )

Protected Methods

Method Description
getStub ( )

Method Details

__construct() public method

public __construct ( Transphpile\IO\IOInterface $io )
$io Transphpile\IO\IOInterface

getStub() protected method

protected getStub ( )

getTraverser() public static method

public static getTraverser ( ) : NodeTraverser
return PhpParser\NodeTraverser

transpile() public method

public transpile ( $srcPath, $dstPath )