src/PHPHtmlParser/Dom/InnerNode.php
public function insertBefore(AbstractNode $child, int $id): bool
	{
		return $this->addChild($child, $id);
	}
public function insertBefore(AbstractNode $child, int $id): bool
	{
		return $this->addChild($child, $id);
	}
public function insertBefore ( AbstractNode $ child , int $ id ) : bool { return $ this -> addChild ( $ child , $ id ) ; }
Insert element before child with provided id

@param AbstractNode $child
@param int $id
@return bool
Insert element before child with provided id