public function startup()
    {
        /** @var \Shopgate\Base\Helper\Initializer\Config $initializer */
        $manager              = ObjectManager::getInstance();
        $initializer          = $manager->get('Shopgate\Base\Helper\Initializer\Config');
        $this->storeManager   = $initializer->getStoreManager();
        $this->logger         = $initializer->getLogger();
        $this->directory      = $initializer->getDirectory();
        $this->sgCoreConfig   = $initializer->getSgCoreConfig();
        $this->coreConfig     = $initializer->getCoreConfig();
        $this->cache          = $initializer->getCache();
        $this->configResource = $initializer->getConfigResource();
        $this->configMapping  = $initializer->getConfigMapping();
        $this->configMethods  = $initializer->getConfigMethods();
        $this->registry       = $initializer->getRegistry();
        $this->configHelper   = $initializer->getHelper();
        $this->plugin_name    = 'magento2';
        $this->configMapping  += $this->configHelper->loadUndefinedConfigPaths();
        $this->loadArray($this->configMethods);

        return true;
    }
public function startup()
    {
        /** @var \Shopgate\Base\Helper\Initializer\Config $initializer */
        $manager              = ObjectManager::getInstance();
        $initializer          = $manager->get('Shopgate\Base\Helper\Initializer\Config');
        $this->storeManager   = $initializer->getStoreManager();
        $this->logger         = $initializer->getLogger();
        $this->directory      = $initializer->getDirectory();
        $this->sgCoreConfig   = $initializer->getSgCoreConfig();
        $this->coreConfig     = $initializer->getCoreConfig();
        $this->cache          = $initializer->getCache();
        $this->configResource = $initializer->getConfigResource();
        $this->configMapping  = $initializer->getConfigMapping();
        $this->configMethods  = $initializer->getConfigMethods();
        $this->registry       = $initializer->getRegistry();
        $this->configHelper   = $initializer->getHelper();
        $this->plugin_name    = 'magento2';
        $this->configMapping  += $this->configHelper->loadUndefinedConfigPaths();
        $this->loadArray($this->configMethods);

        return true;
    }
public function startup ( ) { /** @var \Shopgate\Base\Helper\Initializer\Config $initializer */ $ manager = ObjectManager :: getInstance ( ) ; $ initializer = $ manager -> get ( 'Shopgate\Base\Helper\Initializer\Config' ) ; $ this -> storeManager = $ initializer -> getStoreManager ( ) ; $ this -> logger = $ initializer -> getLogger ( ) ; $ this -> directory = $ initializer -> getDirectory ( ) ; $ this -> sgCoreConfig = $ initializer -> getSgCoreConfig ( ) ; $ this -> coreConfig = $ initializer -> getCoreConfig ( ) ; $ this -> cache = $ initializer -> getCache ( ) ; $ this -> configResource = $ initializer -> getConfigResource ( ) ; $ this -> configMapping = $ initializer -> getConfigMapping ( ) ; $ this -> configMethods = $ initializer -> getConfigMethods ( ) ; $ this -> registry = $ initializer -> getRegistry ( ) ; $ this -> configHelper = $ initializer -> getHelper ( ) ; $ this -> plugin_name = 'magento2' ; $ this -> configMapping += $ this -> configHelper -> loadUndefinedConfigPaths ( ) ; $ this -> loadArray ( $ this -> configMethods ) ; return true ; }
Assists with initializing

@return bool
Assists with initializing