AbstractHelper.php
public function init(): void
    {
        if ($this->initialized) {
            return;
        }
        if (!$this->view) {
            $containerGetter = 'get' . ucfirst($this->viewName);
            $this->setView(Container::$containerGetter());
        }
        if (method_exists($this, 'getAvailableHelpers')) {
            $this->registerHelpers($this->getAvailableHelpers());
        }
        
        $this->initialized = true;
    }
public function init(): void
    {
        if ($this->initialized) {
            return;
        }
        if (!$this->view) {
            $containerGetter = 'get' . ucfirst($this->viewName);
            $this->setView(Container::$containerGetter());
        }
        if (method_exists($this, 'getAvailableHelpers')) {
            $this->registerHelpers($this->getAvailableHelpers());
        }
        
        $this->initialized = true;
    }
public function init ( ) : void { if ( $ this -> initialized ) { return ; } if ( ! $ this -> view ) { $ containerGetter = 'get' . ucfirst ( $ this -> viewName ) ; $ this -> setView ( Container :: $ containerGetter ( ) ) ; } if ( method_exists ( $ this , 'getAvailableHelpers' ) ) { $ this -> registerHelpers ( $ this -> getAvailableHelpers ( ) ) ; } $ this -> initialized = true ; }
Lazy loading process
@return void
Lazy loading process