Nextras\Forms\Controls\Fragments\ComponentControlTrait::attached PHP Метод

attached() защищенный Метод

This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
protected attached ( $presenter ) : void
Результат void
    protected function attached($presenter)
    {
        if ($presenter instanceof Presenter) {
            $this->loadState($presenter->popGlobalParameters($this->getUniqueId()));
            $this->onAnchor($this);
        }
    }