PHP 클래스 yii\caching\ArrayCache

See Cache for common cache operations that ArrayCache supports. Unlike the Cache, ArrayCache allows the expire parameter of [[set]], [[add]], [[multiSet]] and [[multiAdd]] to be a floating point number, so you may specify the time in milliseconds (e.g. 0.1 will be 100 milliseconds). For more details and usage information on Cache, see the guide article on caching.
부터: 2.0
저자: Carsten Brandt ([email protected])
상속: extends Cache
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 메소드들

메소드 설명
exists ( $key )

보호된 메소드들

메소드 설명
addValue ( $key, $value, $duration )
deleteValue ( $key )
flushValues ( )
getValue ( $key )
setValue ( $key, $value, $duration )

메소드 상세

addValue() 보호된 메소드

protected addValue ( $key, $value, $duration )

deleteValue() 보호된 메소드

protected deleteValue ( $key )

exists() 공개 메소드

public exists ( $key )

flushValues() 보호된 메소드

protected flushValues ( )

getValue() 보호된 메소드

protected getValue ( $key )

setValue() 보호된 메소드

protected setValue ( $key, $value, $duration )