App\Console\Commands\PluginMake::makeComposerJson PHP Method

makeComposerJson() protected method

makeComposerJson
protected makeComposerJson ( $path, $pluginName, $namespace, $title ) : void
$path
$pluginName
$namespace
return void
    protected function makeComposerJson($path, $pluginName, $namespace, $title)
    {
        $filename = 'composer.json';
        $code = $this->buildComposerCode($pluginName, $namespace, $title);
        $this->makeDirectory($path);
        $this->files->put($path . '/' . $filename, $code);
    }