Laravel\SparkInstaller\Installation\UpdateComposerFile::writeComposerFile PHP Method

writeComposerFile() protected method

Write the given Composer configuration back to disk.
protected writeComposerFile ( array $composer ) : void
$composer array
return void
    protected function writeComposerFile($composer)
    {
        file_put_contents($this->command->path . '/composer.json', json_encode($composer, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
    }