public function remove($object) : void
    {
        $hash = spl_object_hash($object);

        unset($this->objects[$hash]);
        unset($this->data[$hash]);
    }
public function remove($object) : void
    {
        $hash = spl_object_hash($object);

        unset($this->objects[$hash]);
        unset($this->data[$hash]);
    }
public function remove ( $ object ) : void { $ hash = spl_object_hash ( $ object ) ; unset ( $ this -> objects [ $ hash ] ) ; unset ( $ this -> data [ $ hash ] ) ; }
Removes the given object from this storage, along with associated data.

If this storage does not contain the given object, this method does nothing.

@param object $object The object to remove.

@return void
Removes the given object from this storage along with associated data .