public function getChildren()
    {
        $children = new ArrayCollection();
        if ($this->reference) {
            $children->add($this->reference);
        }

        return $children;
    }
public function getChildren()
    {
        $children = new ArrayCollection();
        if ($this->reference) {
            $children->add($this->reference);
        }

        return $children;
    }
public function getChildren ( ) { $ children = new ArrayCollection ( ) ; if ( $ this -> reference ) { $ children -> add ( $ this -> reference ) ; } return $ children ; }
Overrides the CompositeBlock's getChildren method to pass the reference as this block's children

{@inheritdoc}
Overrides the CompositeBlock s getChildren method to pass the reference as this block s children