src/Addons/Modules/Generators/FromModuleGenerator.php
private function generateModuleJsonFile()
    {
        $path = $this->module->getModulePath($this->getName()) . 'module.json';

        if (!$this->filesystem->isDirectory($dir = dirname($path))) {
            $this->filesystem->makeDirectory($dir, 0775, true);
        }

        $this->filesystem->put($path, $this->getStubContents('json'));
    }
private function generateModuleJsonFile()
    {
        $path = $this->module->getModulePath($this->getName()) . 'module.json';

        if (!$this->filesystem->isDirectory($dir = dirname($path))) {
            $this->filesystem->makeDirectory($dir, 0775, true);
        }

        $this->filesystem->put($path, $this->getStubContents('json'));
    }
private function generateModuleJsonFile ( ) { $ path = $ this -> module -> getModulePath ( $ this -> getName ( ) ) . 'module.json' ; if ( ! $ this -> filesystem -> isDirectory ( $ dir = dirname ( $ path ) ) ) { $ this -> filesystem -> makeDirectory ( $ dir , 0775 , true ) ; } $ this -> filesystem -> put ( $ path , $ this -> getStubContents ( 'json' ) ) ; }
Generate the module.json file
Generate the module . json file