PHP Класс Pantheon\Terminus\Models\Redis

Наследование: extends TerminusModel
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$site Site

Открытые методы

Метод Описание
__construct ( $attributes = null, array $options = [] )
clear ( Environment $env ) : Workflow Clears the Redis cache on the named environment
disable ( ) Disables Redis caching
enable ( ) Enables Redis caching

Приватные методы

Метод Описание
setStatus ( boolean $status ) Sets the site's allow_cacheserver setting to this value

Описание методов

__construct() публичный Метод

public __construct ( $attributes = null, array $options = [] )
$options array

clear() публичный Метод

Clears the Redis cache on the named environment
public clear ( Environment $env ) : Workflow
$env Environment An object representing the environment on which to clear the Redis cache
Результат Workflow

disable() публичный Метод

Disables Redis caching
public disable ( )

enable() публичный Метод

Enables Redis caching
public enable ( )

Описание свойств

$site публичное свойство

public Site,Pantheon\Terminus\Models $site
Результат Site