Remove an item at a specific index

@param $index
962573
public function removeAt($index)
    {
        if (isset($this[$index])) {
            foreach ($this->_associated_objects as $parent_property => $object) {
                /**
                 * @var Model
                 */
                $object->setDirty($parent_property);
            }
            unset($this[$index]);
        }
    }
1151500
public function removeChild(int $index)
    {
        if (!isset($this->children[$index])) {
            throw new AegisError('Could remove child from node, because there\'s no child at index '.$index);
        }

        unset($this->children[$index]);
    }
1328256
public function forgetMigration($index)
    {
        if (($current = $this->migrations[$index]) !== null) {
            $this->deleteFile($current->path);
            unset($this->migrations[$index]);
        }
    }
164084
private function removeExisting(Lucene\Index $index, $hash)
    {
        try {
            $hits = $index->find(self::HASH_FIELDNAME . ':' . $hash);
            foreach ($hits as $hit) {
                $index->delete($hit->id);
            }
        } catch (\Exception $ex) {
            // FIXME no result ???
        }
    }
1077957
public function removeChildAt($index)
	{
		$node = $this->getChildAt($index);
		
		// re-wire new node and remove
		$node->node_parent = null;
		$node->node_childIndex = null;
		array_splice($this->node_children, $index, 1);
		
		// update following child indices
		for ($i = $index; $i < count($this->node_children); $i ++) {
			$this->node_children[$i]->node_childIndex = $i;
		}
		
		return $node;
	}
757128
public static function remove(string $index):int
    {
        unset(self::$framework_paths[$index]);
        if (isset(self::$framework_paths[$index])) {
            return (0);
        } else {
            return (1);
        }
    }
570684
public function dropIndex($index, $table)
    {
        if ($index instanceof Index) {
            $index = $index->getQuotedName($this->_platform);
        }

        $this->_execSql($this->_platform->getDropIndexSQL($index, $table));
    }
228412
public function remove($index)
    {
        if (!isset($this->_streams[$index])) {
            throw new InvalidArgumentException("Unexisting stream index `{$index}`.");
        }
        $stream = $this->_streams[$index];
        unset($this->_streams[$index]);
        $this->_streams = array_values($this->_streams);
        return $stream;
    }
146294
private void remove(int index) {
        Validate.isFalse(index >= size);
        int shifted = size - index - 1;
        if (shifted > 0) {
            System.arraycopy(keys, index + 1, keys, index, shifted);
            System.arraycopy(vals, index + 1, vals, index, shifted);
        }
        size--;
        keys[size] = null; // release hold
        vals[size] = null;
    }
228202
public function offsetUnset($index)
	{
		if (isset($this->children[$index])) {
			array_splice($this->children, (int)$index, 1);
		}
	}
1257298
public function remove($index)
    {
        if( $index >= count($this->generators) || $index < 0 )
            return;
        
        unset($this->generators[$index]);
        $this->generators = array_values($this->generators);
    }
1130532
public function pop($index = null)
    {
        return null === $index ? array_pop($this->data) : current(array_splice($this->data, $index, 1));
    }
815669
public function removeElementByName($name, $index = null) {

		if($index !== null) {
			unset($this->elements[$name][$index]);
		}
		else {
			unset($this->elements[$name]);
		}

	}
731233
public function removeFrame($index)
    {
        if (!isset($this->frames[$index])) {
            throw new InvalidArgumentException('Invalid frame index to remove.');
        }

        array_splice($this->frames, $index, 1);
    }
804672
public function removeExcludedSimpleValue(int $index)
    {
        if (isset($this->simpleExcludedValues[$index])) {
            unset($this->simpleExcludedValues[$index]);

            --$this->valuesCount;
        }

        return $this;
    }
1059038
public function delete($index)
    {
        $request = $this->createRequestInstance(self::INDEX_DELETE, $index, null);

        return $this->client->send($request);
    }
1021545
public T removeItemAt(int index) {
        T item = get(index);
        removeItemAtIndex(index, true);
        return item;
    }