public function children()
    {
        $result = [];
        foreach ($this->children as $childGroup) {
            $result = array_merge($result, $childGroup);
        }

        return $result;
    }
public function children()
    {
        $result = [];
        foreach ($this->children as $childGroup) {
            $result = array_merge($result, $childGroup);
        }

        return $result;
    }
public function children ( ) { $ result = [ ] ; foreach ( $ this -> children as $ childGroup ) { $ result = array_merge ( $ result , $ childGroup ) ; } return $ result ; }
Returns a flat list of all the properties and components in this
component.

@return array
Returns a flat list of all the properties and components in this component .