Laralib\L5scaffold\Makes\MakeLocalization::start PHP Method

start() protected method

Start make seed.
protected start ( ) : void
return void
    protected function start()
    {
        $path = $this->getPath($this->language_code . '/' . $this->scaffoldCommandObj->getObjName('Name'), 'localization');
        $this->makeDirectory($path);
        if ($this->files->exists($path)) {
            return $this->scaffoldCommandObj->comment('x Localization');
        }
        $this->files->put($path, $this->compileLocalizationStub());
        $this->scaffoldCommandObj->info('+ Localization');
    }