public function remove(EntityInterface $entity) { if (isset($this->entities[$entity->uri()])) { unset($this->entities[$entity->uri()]); } }