Method | Description | |
---|---|---|
__construct ( string | array $path, array $excludes = [], array $extensions = ['php'] ) | Constructor. | |
getFiles ( ) : array | Fetch files. | |
lint ( array $files = [], boolean $cache = true ) : array | Check the files. | |
setCache ( array $cache = [] ) | Cache setter. | |
setFiles ( array $files ) : |
Set Files. | |
setProcessCallback ( callable $processCallback ) : |
Set process callback. | |
setProcessLimit ( integer $procLimit ) | Set process limit. |
Method | Description | |
---|---|---|
getFilesFromDir ( string $dir ) : array | Get files from directory. |
protected getFilesFromDir ( string $dir ) : array | ||
$dir | string | |
return | array |
public setProcessCallback ( callable $processCallback ) : |
||
$processCallback | callable | |
return |
public setProcessLimit ( integer $procLimit ) | ||
$procLimit | integer |