public function clear()
    {
        $expiry = $this->values['_expiry'] ?? null;
        parent::clear();
        $this->set('_changed', true);
        $this->set('_timestamp', time());
        if ($expiry)
            $this->setExpiry($expiry);
        return $this;
    }
public function clear()
    {
        $expiry = $this->values['_expiry'] ?? null;
        parent::clear();
        $this->set('_changed', true);
        $this->set('_timestamp', time());
        if ($expiry)
            $this->setExpiry($expiry);
        return $this;
    }
public function clear ( ) { $ expiry = $ this -> values [ '_expiry' ] ?? null ; parent :: clear ( ) ; $ this -> set ( '_changed' , true ) ; $ this -> set ( '_timestamp' , time ( ) ) ; if ( $ expiry ) $ this -> setExpiry ( $ expiry ) ; return $ this ; }
Remove all contents from the cache

@return Cache Provides fluent interface
Remove all contents from the cache