public function getRenderablesRecursively()
    {
        $renderables = [];
        foreach ($this->renderables as $renderable) {
            $renderables[] = $renderable;
            if ($renderable instanceof CompositeRenderableInterface) {
                $renderables = array_merge($renderables, $renderable->getRenderablesRecursively());
            }
        }
        return $renderables;
    }
public function getRenderablesRecursively()
    {
        $renderables = [];
        foreach ($this->renderables as $renderable) {
            $renderables[] = $renderable;
            if ($renderable instanceof CompositeRenderableInterface) {
                $renderables = array_merge($renderables, $renderable->getRenderablesRecursively());
            }
        }
        return $renderables;
    }
public function getRenderablesRecursively ( ) { $ renderables = [ ] ; foreach ( $ this -> renderables as $ renderable ) { $ renderables [ ] = $ renderable ; if ( $ renderable instanceof CompositeRenderableInterface ) { $ renderables = array_merge ( $ renderables , $ renderable -> getRenderablesRecursively ( ) ) ; } } return $ renderables ; }
Returns all RenderableInterface instances of this composite renderable recursively

@return RenderableInterface[]
@internal
Returns all RenderableInterface instances of this composite renderable recursively