public function removeAll()
    {
        if (!$this->isEmpty()) {
            foreach ($this->getAll() as $key => $val) {
                $this->remove($key);
            }

            return true;
        } else {
            return false;
        }
    }
public function removeAll()
    {
        if (!$this->isEmpty()) {
            foreach ($this->getAll() as $key => $val) {
                $this->remove($key);
            }

            return true;
        } else {
            return false;
        }
    }
public function removeAll ( ) { if ( ! $ this -> isEmpty ( ) ) { foreach ( $ this -> getAll ( ) as $ key => $ val ) { $ this -> remove ( $ key ) ; } return true ; } else { return false ; } }
Removes all cookies from client machine

@return boolean True if all cookies have been erased, False if nothing to erase
Removes all cookies from client machine