getMemcache() public method
Returns the underlying memcache (or memcached) object.
public \Memcache|\Memcached getMemcache ( ) | ||
---|---|---|
return | \Memcache|\Memcached |
The memcache (or memcached) object used by this cache component. |
throws | yii\base\InvalidConfigException |
if memcache or memcached extension is not loaded |
Please login to continue.