Removes a hole.

@param Hole $hole
355141
public function removeHole(Hole $hole)
    {
        if ($this->holes->contains($hole)) {
            $this->holes->removeElement($hole);
        }
    }
343221
public function clear($mission)
    {
        $missionGames = $this->findMissionGameByMission($mission);
        foreach ($missionGames as $missionGames) {
            $this->getMissionGameMapper()->remove($missionGames);
        }
    }
1103276
public function removeNumber(int $index): void
    {
        unset($this->numbers[$index]);
        $this->numbers = array_values($this->numbers);
    }
1283898
public function clear($sKey)
    {
        if (empty($sKey) || empty($this->arStore) || !isset($this->arStore[$sKey])) {
            return;
        }

        unset($this->arStore[$sKey]);
    }
1221469
function eliminateHole(hole, outerNode) {
       outerNode = findHoleBridge(hole, outerNode);
       if (outerNode) {
           var b = splitPolygon(outerNode, hole);
           filterPoints(b, b.next);
       }
   }
773553
private function clearAttachments($dir)
    {
        if (!file_exists($dir)) {
            mkdir($dir, 0777, true);
        }

        $files = glob($dir.'/*');
        foreach ($files as $file) {
            if (is_file($file)) {
                unlink($file);
            }
        }
    }
775036
public void remove() {
        if (polygon != null) {
            polygon.remove();
            polygon = null;
        }
        for (Marker marker : markers) {
            marker.remove();
        }
        for (PolygonHoleMarkers hole : holes) {
            hole.remove();
        }
    }
1168973
public function removeField(Field $field)
    {
        if (($index = array_search($field, $this->fields)) !== false)
            array_splice($this->fields, $index, 1);
    }
703620
public function remove(string $key): void
    {
        $this->items = Arr::remove($this->items, $key);
    }
968796
public function remove($sku)
    {
        $product = $this->pick($sku);

        $this->products->remove($sku);
    }
544226
public function remove(string $key): void
    {
        if (isset($this->orgData[$key])) {
            if (isset($this->updateAttributes[$key])) {
                unset($this->updateAttributes[$key]);
            }
        } else {
            if (isset($this->addAttributes[$key])) {
                unset($this->addAttributes[$key]);
            }
        }
        $this->removeAttributes[$key] = 0;
    }
273782
public function remove($object)
    {
        $this->hasUnpersistedChanges = true;
        if ($this->addedObjects->contains($object)) {
            $this->addedObjects->detach($object);
        } else {
            $this->removedObjects->attach($object);
        }
    }
589158
public function clear($key = null) {
			if ($key === null)
				$this->counts->clear();
			else
				$this->counts->remove($key);
		}
802889
public function dirDelete($dir)
    {
        $dir = $this->alias->resolve($dir);

        if (!is_dir($dir)) {
            return;
        }

        $this->_dirDelete($dir);
    }
146285
public function remove($key) {
        $key = $this->formatKey($key);
        array_remove($this->headers, $key);
    }
130064
public function removeAddress(AddressInterface $address): void
    {
        $this->addresses->removeElement($address);

        if ($address->getId() == $this->defaultAddress->getId()) {
            if ($this->addresses->count() > 0) {
                $this->defaultAddress = $this->addresses[0];
            } else {
                $this->defaultAddress = null;
            }
        }
    }
842332
public function remove($key)
    {
        $method = 'remove'.$key;

        if (method_exists($this, $method)) {
            $this->$method();
        } else {
            unset($this->metas[$key]);
        }
    }