public function completeComponents(): void
    {
        $components = $this->getComponents();

        foreach ($components as $id => $component) {
            if (ArrayHelper::remove($component, 'podiumBridge', false)) {
                $component['podium'] = $this;
                $this->set($id, $component);
            }
        }
    }
public function completeComponents(): void
    {
        $components = $this->getComponents();

        foreach ($components as $id => $component) {
            if (ArrayHelper::remove($component, 'podiumBridge', false)) {
                $component['podium'] = $this;
                $this->set($id, $component);
            }
        }
    }
public function completeComponents ( ) : void { $ components = $ this -> getComponents ( ) ; foreach ( $ components as $ id => $ component ) { if ( ArrayHelper :: remove ( $ component , 'podiumBridge' , false ) ) { $ component [ 'podium' ] = $ this ; $ this -> set ( $ id , $ component ) ; } } }
Sets Podium reference for custom components.
Custom component should be child of PodiumComponent class.
@throws InvalidConfigException
Sets Podium reference for custom components . Custom component should be child of PodiumComponent class .