private function createFrontEndStore()
    {
        $moduleName = lcfirst($this->moduleName);
        $storeFileName = $moduleName . '.js';
        $storeFilePath = $this->frontendStoreDirectory . DIRECTORY_SEPARATOR . $storeFileName;

        if (file_exists($storeFilePath) && $this->isForce == false) {
            $this->info($storeFileName . ' file exists. Skip.');
            return $storeFilePath;
        }

        $storeContent = $this->generateStoreContent($moduleName);
        file_put_contents($storeFilePath, $storeContent);
        $this->appendStore($moduleName);
        $this->info('Store file is set: ' . $storeFileName);
        $this->line($storeFilePath);

        return $storeFilePath;
    }
private function createFrontEndStore()
    {
        $moduleName = lcfirst($this->moduleName);
        $storeFileName = $moduleName . '.js';
        $storeFilePath = $this->frontendStoreDirectory . DIRECTORY_SEPARATOR . $storeFileName;

        if (file_exists($storeFilePath) && $this->isForce == false) {
            $this->info($storeFileName . ' file exists. Skip.');
            return $storeFilePath;
        }

        $storeContent = $this->generateStoreContent($moduleName);
        file_put_contents($storeFilePath, $storeContent);
        $this->appendStore($moduleName);
        $this->info('Store file is set: ' . $storeFileName);
        $this->line($storeFilePath);

        return $storeFilePath;
    }
private function createFrontEndStore ( ) { $ moduleName = lcfirst ( $ this -> moduleName ) ; $ storeFileName = $ moduleName . '.js' ; $ storeFilePath = $ this -> frontendStoreDirectory . DIRECTORY_SEPARATOR . $ storeFileName ; if ( file_exists ( $ storeFilePath ) && $ this -> isForce == false ) { $ this -> info ( $ storeFileName . ' file exists. Skip.' ) ; return $ storeFilePath ; } $ storeContent = $ this -> generateStoreContent ( $ moduleName ) ; file_put_contents ( $ storeFilePath , $ storeContent ) ; $ this -> appendStore ( $ moduleName ) ; $ this -> info ( 'Store file is set: ' . $ storeFileName ) ; $ this -> line ( $ storeFilePath ) ; return $ storeFilePath ; }
Create FrontEnd Store file
@return string
Create FrontEnd Store file