Composer\Satis\Builder\PackagesBuilder::dumpPackagesJson PHP Method

dumpPackagesJson() private method

Writes the packages.json of the repository.
private dumpPackagesJson ( array $repo )
$repo array Repository information
    private function dumpPackagesJson($repo)
    {
        if (isset($this->config['notify-batch'])) {
            $repo['notify-batch'] = $this->config['notify-batch'];
        }
        $this->output->writeln('<info>Writing packages.json</info>');
        $repoJson = new JsonFile($this->filename);
        $repoJson->write($repo);
    }