public function prependTo($selector) { return $this->applyToSelector($selector, function ($targetNode, $contentNodes) { return $this->modify($targetNode)->insertChildrenBefore($contentNodes); }, TRUE); }