protected function attached($component): void
    {
        if ($component instanceof Presenter) {
            $this->onPresenter($component);
        }

        parent::attached($component);
    }
protected function attached($component): void
    {
        if ($component instanceof Presenter) {
            $this->onPresenter($component);
        }

        parent::attached($component);
    }
protected function attached ( $ component ) : void { if ( $ component instanceof Presenter ) { $ this -> onPresenter ( $ component ) ; } parent :: attached ( $ component ) ; }
Calls onPresenter event which is used to verify component properties.

@param IComponent $component
Calls onPresenter event which is used to verify component properties .