프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$adapter | ManaPHP\Cache\AdapterInterface |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_prefix | string |
메소드 | 설명 | |
---|---|---|
__construct ( string | array | ManaPHP\Cache\AdapterInterface $options = [] ) | Cache constructor. | |
delete ( string $key ) : void | ||
exists ( string $key ) : boolean | ||
get ( string $key ) : mixed | false | ||
set ( string $key, mixed $value, integer $ttl ) : void | ||
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static |
public __construct ( string | array | ManaPHP\Cache\AdapterInterface $options = [] ) | ||
$options | string | array | ManaPHP\Cache\AdapterInterface |
public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static | ||
$dependencyInjector | ManaPHP\DiInterface | |
리턴 | static |