PHP 클래스 Tollwerk\Squeezr\Cleaner

부터: 1.0b
저자: Joschi Kuphal ([email protected])
파일 보기 프로젝트 열기: jkphl/squeezr 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_base string Base path

공개 메소드들

메소드 설명
clean ( ) : void Recursively clean the cache directory given as base path
instance ( string $base ) : Cleaner Instanciate a cache cleaner

비공개 메소드들

메소드 설명
__construct ( string $base ) Constructor
_cleanDirectory ( string $path = '' ) : integer Recursively clean a subdirectory

메소드 상세

clean() 공개 메소드

Recursively clean the cache directory given as base path
public clean ( ) : void
리턴 void

instance() 공개 정적인 메소드

Instanciate a cache cleaner
public static instance ( string $base ) : Cleaner
$base string Base path
리턴 Cleaner Instance reference

프로퍼티 상세

$_base 보호되어 있는 프로퍼티

Base path
protected string $_base
리턴 string