public function getComponentVerified(string $name): ?IComponent
    {
        /** @var Presenter $presenter */
        $presenter = $this->getPresenter();

        return $presenter->getVerifier()->isComponentVerified($name, $presenter->getRequest(), $this) ? $this->getComponent($name) : null;
    }
public function getComponentVerified(string $name): ?IComponent
    {
        /** @var Presenter $presenter */
        $presenter = $this->getPresenter();

        return $presenter->getVerifier()->isComponentVerified($name, $presenter->getRequest(), $this) ? $this->getComponent($name) : null;
    }
public function getComponentVerified ( string $ name ) : ? IComponent { /** @var Presenter $presenter */ $ presenter = $ this -> getPresenter ( ) ; return $ presenter -> getVerifier ( ) -> isComponentVerified ( $ name , $ presenter -> getRequest ( ) , $ this ) ? $ this -> getComponent ( $ name ) : null ; }
Returns specified component but only if all its requirements are met.
Returns specified component but only if all its requirements are met .