Свойство | Type | Description | |
---|---|---|---|
$dirname | |||
$files | |||
$gc_lifetime | |||
$gc_probability | Hours to keep collected data; |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files, string $dirname ) | ||
clear ( ) | {@inheritDoc} | |
find ( array $filters = [], $max = 20, $offset ) | {@inheritDoc} | |
get ( $id ) | {@inheritDoc} | |
makeFilename ( $id ) : string | Create the filename for the data, based on the id. | |
save ( $id, $data ) | {@inheritDoc} |
Méthode | Description | |
---|---|---|
filter ( $meta, $filters ) : boolean | Filter the metadata for matches. | |
garbageCollect ( ) | Delete files older then a certain age (gc_lifetime) |
public __construct ( Illuminate\Filesystem\Filesystem $files, string $dirname ) | ||
$files | Illuminate\Filesystem\Filesystem | The filesystem |
$dirname | string | Directories where to store files |
protected garbageCollect ( ) |
public makeFilename ( $id ) : string | ||
$id | ||
Résultat | string |