public function clearAll($send = true) { foreach ($this->getContents() as $index => $i) { $this->clear($index, $send); } }