lib/Aegis/Node.php
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]);
    }
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]);
    }
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 ] ) ; }
Removes the child node at the given index

@param int $index
@throws AegisError
Removes the child node at the given index