Class LogFilesService
package |
Default |
---|
__construct(\IntType $thresholdAsDays, \ExistingDirectory $root, array $blacklist)
array
List of blacklisted file names (e.g. .htaccess). Gets merged with "." and "..".
_isBlacklisted(\DirectoryIterator $file) : boolean
\DirectoryIterator
File to be checked.
boolean
True if file is blacklisted.
_isNotDeprecated(\DirectoryIterator $file) : boolean
\DirectoryIterator
File to be checked.
boolean
True 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