Back to MemcachedStorage class

Method flush

public bool
flush
()
Flush all existing items in storage.
Returns
  • bool
Since
  • 3.6.3

Method flush - Source code

/**
 * Flush all existing items in storage.
 *
 * @return  boolean
 *
 * @since   3.6.3
 */
public function flush()
{
    if (!$this->lockindex()) {
        return false;
    }
    return static::$_db->flush();
}