SilverStripe\Assets\FileFinder::acceptFile
Returns TRUE if the file should be included in the results. This can be overloaded to customise functionality, or extended via callbacks.
Signature
protected function acceptFile(string
$basename,
string
$pathname,
int
$depth )
Parameters
$basename
— string$pathname
— string$depth
— int
Returns
- bool