src/ChildNodeTrait.php
final public function internalSetParent(ParentNodeInterface $parent)
    {
        $this->emit('parent.change', [$parent, $this]);
        $this->parentNode = $parent;
    }
final public function internalSetParent(ParentNodeInterface $parent)
    {
        $this->emit('parent.change', [$parent, $this]);
        $this->parentNode = $parent;
    }
final public function internalSetParent ( ParentNodeInterface $ parent ) { $ this -> emit ( 'parent.change' , [ $ parent , $ this ] ) ; $ this -> parentNode = $ parent ; }
Attaches component to registry.

@param ParentNodeInterface $parent

@return null
Attaches component to registry .