Gdn_Cache::hasFeature PHP Method

hasFeature() public method

Check whether this cache supports the specified feature.
public hasFeature ( integer $Feature ) : mixed
$Feature integer One of the feature constants.
return mixed $Meta returns the meta data supplied during RegisterFeature().
    public function hasFeature($Feature)
    {
        return isset($this->features[$Feature]) ? $this->features[$Feature] : Gdn_Cache::CACHEOP_FAILURE;
    }