public function initialize()
    {
        if (!file_exists($this->paramsPathname)) {
            throw new \InvalidArgumentException("Invalid Magento root '$this->magentoRoot'.");
        }

        $params = $this->getParams();
        $params['code'] = $this->store;
        $params['type'] = $this->scope;
        $this->saveParams($params);
    }
public function initialize()
    {
        if (!file_exists($this->paramsPathname)) {
            throw new \InvalidArgumentException("Invalid Magento root '$this->magentoRoot'.");
        }

        $params = $this->getParams();
        $params['code'] = $this->store;
        $params['type'] = $this->scope;
        $this->saveParams($params);
    }
public function initialize ( ) { if ( ! file_exists ( $ this -> paramsPathname ) ) { throw new \ InvalidArgumentException ( "Invalid Magento root '$this->magentoRoot'." ) ; } $ params = $ this -> getParams ( ) ; $ params [ 'code' ] = $ this -> store ; $ params [ 'type' ] = $ this -> scope ; $ this -> saveParams ( $ params ) ; }
Sets store and scope code into index.php generated by GenericInstaller

@see \Irs\MagentoInitializer\Initializer\InitializerInterface::initialize()
Sets store and scope code into index . php generated by GenericInstaller