public function remove($object) { $id = $this->stringify($this->getIdentity($object)); unset($this->storage[$id]); }