public function remove($unique) { unset($this->unresolved[$unique], $this->resolved[$unique]); }
/** * When this item is being killed, we should no longer keep its value around * in the repository. Free up some memory! */ public function __destruct() { $this->repository->remove($this->hash); }