Method | Description | |
---|---|---|
diffInDays ( $log, Carbon\Carbon $date ) : integer | Get the diff in days for a given file and carbon date | |
getCompressed ( $logs, boolean $keepIndex = false ) : mixed | Get all logs that follow the daily format | |
getDate ( $log ) : Carbon\Carbon | Get a Carbon date from the file name | |
getLogs ( $logs, boolean $keepIndex = false ) : mixed | Get all logs that follow the daily format | |
mapBasename ( $logs ) : mixed | Map the full path to the filename. |
public static diffInDays ( $log, Carbon\Carbon $date ) : integer | ||
$log | ||
$date | Carbon\Carbon | |
return | integer |
public static getCompressed ( $logs, boolean $keepIndex = false ) : mixed | ||
$logs | ||
$keepIndex | boolean | |
return | mixed |
public static getDate ( $log ) : Carbon\Carbon | ||
$log | ||
return | Carbon\Carbon |
public static mapBasename ( $logs ) : mixed | ||
$logs | ||
return | mixed |