src/Composer/Composer.php
public static function storeComposerJson( $composer, $directory ) {
		$composer_json = $directory . DIRECTORY_SEPARATOR . 'composer.json';

		file_put_contents( $composer_json, json_encode( $composer, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES ) );
	}
public static function storeComposerJson( $composer, $directory ) {
		$composer_json = $directory . DIRECTORY_SEPARATOR . 'composer.json';

		file_put_contents( $composer_json, json_encode( $composer, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES ) );
	}
public static function storeComposerJson ( $ composer , $ directory ) { $ composer_json = $ directory . DIRECTORY_SEPARATOR . 'composer.json' ; file_put_contents ( $ composer_json , json_encode ( $ composer , JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES ) ) ; }
Store a parsed composer.json file in a directory

@param  array  $composer
@param  string $directory
@return void
Store a parsed composer . json file in a directory