Class LogFilesService
| package |
Default |
|---|
__construct(\IntType $thresholdAsDays, \ExistingDirectory $root, array $blacklist)
arrayList of blacklisted file names (e.g. .htaccess). Gets merged with "." and "..".
_isBlacklisted(\DirectoryIterator $file) : boolean
\DirectoryIteratorFile to be checked.
booleanTrue if file is blacklisted.
_isNotDeprecated(\DirectoryIterator $file) : boolean
\DirectoryIteratorFile to be checked.
booleanTrue if file is NOT deprecated.
deleteOldLogFiles() : array<mixed,string>
array<mixed,string>List of removed file names.
blacklist : array
| var |
|---|
array
threshold : integer
| var |
|---|
integer
root : string
| var |
|---|
string