PHP Class Tollwerk\Squeezr\Cleaner

Since: 1.0b
Author: Joschi Kuphal ([email protected])
Afficher le fichier Open project: jkphl/squeezr Class Usage Examples

Protected Properties

Свойство Type Description
$_base string Base path

Méthodes publiques

Méthode Description
clean ( ) : void Recursively clean the cache directory given as base path
instance ( string $base ) : Cleaner Instanciate a cache cleaner

Private Methods

Méthode Description
__construct ( string $base ) Constructor
_cleanDirectory ( string $path = '' ) : integer Recursively clean a subdirectory

Method Details

clean() public méthode

Recursively clean the cache directory given as base path
public clean ( ) : void
Résultat void

instance() public static méthode

Instanciate a cache cleaner
public static instance ( string $base ) : Cleaner
$base string Base path
Résultat Cleaner Instance reference

Property Details

$_base protected_oe property

Base path
protected string $_base
Résultat string