Odesk\Phystrix\AbstractCommand::getCacheKey PHP Method

getCacheKey() protected method

By default this return null, which means "do not cache". To enable caching, override this method and return a string key uniquely representing the state of a command instance. If multiple command instances are executed within current HTTP request, only the first one will be executed and all others returned from cache.
protected getCacheKey ( ) : string | null
return string | null
    protected function getCacheKey()
    {
        return null;
    }