PHP 클래스 Overtrue\PHPLint\Cache

파일 보기 프로젝트 열기: overtrue/phplint 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$filename string

공개 메소드들

메소드 설명
exists ( ) : boolean Check cache exists.
get ( ) : mixed Fetch cache.
getFilename ( ) : string Return cache filename.
isCached ( ) : boolean Alias if exists();.
put ( mixed $contents ) Set cache.

메소드 상세

exists() 공개 정적인 메소드

Check cache exists.
public static exists ( ) : boolean
리턴 boolean

get() 공개 정적인 메소드

Fetch cache.
public static get ( ) : mixed
리턴 mixed

getFilename() 공개 정적인 메소드

Return cache filename.
public static getFilename ( ) : string
리턴 string

isCached() 공개 정적인 메소드

Alias if exists();.
public static isCached ( ) : boolean
리턴 boolean

put() 공개 정적인 메소드

Set cache.
public static put ( mixed $contents )
$contents mixed

프로퍼티 상세

$filename 보호되어 있는 정적으로 프로퍼티

protected static string $filename
리턴 string