protected function loadInits()
    {
        $this->hook->trigger(self::HOOK_LOAD_INITS_BEFORE);

        if ($this->config->get('parable.inits')) {
            $initLoader = \Parable\DI\Container::create(\Parable\Framework\Loader\InitLoader::class);
            $initLoader->load($this->config->get('parable.inits'));
        }

        $this->hook->trigger(self::HOOK_LOAD_INITS_AFTER);
        return $this;
    }
protected function loadInits()
    {
        $this->hook->trigger(self::HOOK_LOAD_INITS_BEFORE);

        if ($this->config->get('parable.inits')) {
            $initLoader = \Parable\DI\Container::create(\Parable\Framework\Loader\InitLoader::class);
            $initLoader->load($this->config->get('parable.inits'));
        }

        $this->hook->trigger(self::HOOK_LOAD_INITS_AFTER);
        return $this;
    }
protected function loadInits ( ) { $ this -> hook -> trigger ( self :: HOOK_LOAD_INITS_BEFORE ) ; if ( $ this -> config -> get ( 'parable.inits' ) ) { $ initLoader = \ Parable \ DI \ Container :: create ( \ Parable \ Framework \ Loader \ InitLoader :: class ) ; $ initLoader -> load ( $ this -> config -> get ( 'parable.inits' ) ) ; } $ this -> hook -> trigger ( self :: HOOK_LOAD_INITS_AFTER ) ; return $ this ; }
Create instances of given init classes.

@return $this
Create instances of given init classes .