메소드 | 설명 | |
---|---|---|
getEventDispatcher ( ) : |
Get the event dispatcher | |
getFileRegex ( ) : string | Get the regex for file inclusion | |
getParser ( ) : PhpParser\Parser | Get the parser | |
getPrettyPrinter ( ) : |
Get the "pretty" printer | |
getTraverser ( ) : PhpParser\NodeTraverserInterface | Get the node traverser | |
obfuscate ( string $directory, boolean $stripWhitespace = false, $ignoreError = false ) : void | Strip whitespace | |
setEventDispatcher ( |
Set the event dispatcher | |
setFileRegex ( string $fileRegex ) : |
Set the regex for file inclusion | |
setParser ( PhpParser\Parser $parser ) : |
Set the parser | |
setPrettyPrinter ( |
Set the "pretty" printer | |
setTraverser ( PhpParser\NodeTraverserInterface $traverser ) : |
Set the node traverser |
메소드 | 설명 | |
---|---|---|
getFiles ( $directory ) : SplFileInfo | Get the file list | |
obfuscateFileContents ( string $file, boolean $ignoreError ) : string | Obfuscate a single file's contents |
public getEventDispatcher ( ) : |
||
리턴 |
public getPrettyPrinter ( ) : |
||
리턴 |
public getTraverser ( ) : PhpParser\NodeTraverserInterface | ||
리턴 | PhpParser\NodeTraverserInterface |
public setEventDispatcher ( |
||
$eventDispatcher | ||
리턴 |
public setFileRegex ( string $fileRegex ) : |
||
$fileRegex | string | |
리턴 |
public setParser ( PhpParser\Parser $parser ) : |
||
$parser | PhpParser\Parser | |
리턴 |
public setPrettyPrinter ( |
||
$prettyPrinter | ||
리턴 |
public setTraverser ( PhpParser\NodeTraverserInterface $traverser ) : |
||
$traverser | PhpParser\NodeTraverserInterface | |
리턴 |