PHP 클래스 ManaPHP\Cache\Adapter\Db

상속: extends ManaPHP\Component, implements ManaPHP\Cache\AdapterInterface
파일 보기 프로젝트 열기: manaphp/manaphp

보호된 프로퍼티들

프로퍼티 타입 설명
$_model string

공개 메소드들

메소드 설명
__construct ( string | array $options = [] ) Db constructor.
delete ( string $key ) : void
exists ( string $key ) : boolean
get ( string $key ) : string | false
set ( string $key, string $value, integer $ttl ) : void

메소드 상세

__construct() 공개 메소드

Db constructor.
public __construct ( string | array $options = [] )
$options string | array

delete() 공개 메소드

public delete ( string $key ) : void
$key string
리턴 void

exists() 공개 메소드

public exists ( string $key ) : boolean
$key string
리턴 boolean

get() 공개 메소드

public get ( string $key ) : string | false
$key string
리턴 string | false

set() 공개 메소드

public set ( string $key, string $value, integer $ttl ) : void
$key string
$value string
$ttl integer
리턴 void

프로퍼티 상세

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

protected string $_model
리턴 string