protected function writeComposerFile(Package $package, $directory, $plain)
	{
		$stub = $this->getComposerStub($plain);

		$stub = $this->formatPackageStub($package, $stub);

		$this->files->put($directory.'/composer.json', $stub);
	}
protected function writeComposerFile(Package $package, $directory, $plain)
	{
		$stub = $this->getComposerStub($plain);

		$stub = $this->formatPackageStub($package, $stub);

		$this->files->put($directory.'/composer.json', $stub);
	}
protected function writeComposerFile ( Package $ package , $ directory , $ plain ) { $ stub = $ this -> getComposerStub ( $ plain ) ; $ stub = $ this -> formatPackageStub ( $ package , $ stub ) ; $ this -> files -> put ( $ directory . '/composer.json' , $ stub ) ; }
Write the Composer.json stub file.

@param  \Fly\Workbench\Package  $package
@param  string  $directory
@return void
Write the Composer . json stub file .