protected function setupComponents()
    {
        $components = Arr::get($this->config, 'components');
        foreach ($components as $component) {
            $instance = new $component($this->config);
            $instance->setup();

            $this->componentInstances[ $component ] = $instance;
        }
    }
protected function setupComponents()
    {
        $components = Arr::get($this->config, 'components');
        foreach ($components as $component) {
            $instance = new $component($this->config);
            $instance->setup();

            $this->componentInstances[ $component ] = $instance;
        }
    }
protected function setupComponents ( ) { $ components = Arr :: get ( $ this -> config , 'components' ) ; foreach ( $ components as $ component ) { $ instance = new $ component ( $ this -> config ) ; $ instance -> setup ( ) ; $ this -> componentInstances [ $ component ] = $ instance ; } }
Build component instances and run setup method.

@return void
Build component instances and run setup method .