Class FileFinder
Find files on disk matching criteria, like the 'find' system utility. Use of
this class is straightforward:
Tasks
Creating a File Query
Configuring File Queries
Executing the File Query
Internal
Methods
public this __construct($root)
| parameters | string | $root | Root directory to find files beneath. |
| return | this | | |
public excludePath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public find()
This method is not documented.
private generateList($flag, array $items)
| parameters | wild | $flag | |
| array | $items | |
| return | wild | | |
This method is not documented.
private getFiles($dir)
| parameters | wild | $dir | |
| return | wild | | |
This method is not documented.
public setForceMode($mode)
| parameters | string | $mode | Either "php", "shell", or the empty string. |
| return | wild | | |
This method is not documented.
public setGenerateChecksums($generate)
| parameters | wild | $generate | |
| return | wild | | |
This method is not documented.
public validateFile($file)
| parameters | wild | $file | |
| return | wild | | |
This method is not documented.
public withFollowSymlinks($follow)
| parameters | wild | $follow | |
| return | wild | | |
This method is not documented.
public withPath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public withSuffix($suffix)
| parameters | wild | $suffix | |
| return | wild | | |
This method is not documented.
public withType($type)
| parameters | wild | $type | |
| return | wild | | |
This method is not documented.