PHP Class Barryvdh\Debugbar\Storage\FilesystemStorage

Inheritance: implements DebugBar\Storage\StorageInterface
Afficher le fichier Open project: barryvdh/laravel-debugbar

Protected Properties

Свойство Type Description
$dirname
$files
$gc_lifetime
$gc_probability Hours to keep collected data;

Méthodes publiques

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éthodes protégées

Méthode Description
filter ( $meta, $filters ) : boolean Filter the metadata for matches.
garbageCollect ( ) Delete files older then a certain age (gc_lifetime)

Method Details

__construct() public méthode

public __construct ( Illuminate\Filesystem\Filesystem $files, string $dirname )
$files Illuminate\Filesystem\Filesystem The filesystem
$dirname string Directories where to store files

clear() public méthode

{@inheritDoc}
public clear ( )

filter() protected méthode

Filter the metadata for matches.
protected filter ( $meta, $filters ) : boolean
$meta
$filters
Résultat boolean

find() public méthode

{@inheritDoc}
public find ( array $filters = [], $max = 20, $offset )
$filters array

garbageCollect() protected méthode

Delete files older then a certain age (gc_lifetime)
protected garbageCollect ( )

get() public méthode

{@inheritDoc}
public get ( $id )

makeFilename() public méthode

Create the filename for the data, based on the id.
public makeFilename ( $id ) : string
$id
Résultat string

save() public méthode

{@inheritDoc}
public save ( $id, $data )

Property Details

$dirname protected_oe property

protected $dirname

$files protected_oe property

protected $files

$gc_lifetime protected_oe property

protected $gc_lifetime

$gc_probability protected_oe property

Hours to keep collected data;
protected $gc_probability