Pantheon\Terminus\Models\Redis::clear PHP Method

clear() public method

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
return Workflow
    public function clear($env)
    {
        // @Todo: Change this when the env model conversion is merged
        return $env->workflows->create('clear_redis_cache');
    }