Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Adds JavaProperties writer#47

Merged
weierophinney merged 4 commits intozendframework:developfrom
weierophinney:feature/44-javaproperties-writer
Apr 24, 2018
Merged

Adds JavaProperties writer#47
weierophinney merged 4 commits intozendframework:developfrom
weierophinney:feature/44-javaproperties-writer

Conversation

@weierophinney
Copy link
Member

Per #44, this patch provides a simple JavaProperties writer that uses the configured delimiter in order to create key{delim}value lines representing the configuration provided.

Usage:

// Using default delimiter of ':':
$writer = new JavaProperties();

// Using alternate delimiter:
$writer = new JavaProperties('=');

$writer->toFile('.properties', $config);

Per #44, this patch provides a simple JavaProperties writer that uses
the configured delimiter in order to create key{delim}value lines
representing the configuration provided.
Adds entries for the new JavaProperties writer to both the
`WriterPluginManager` and the `StandaloneWriterPluginManager`.
@weierophinney weierophinney merged commit 104bcba into zendframework:develop Apr 24, 2018
@weierophinney weierophinney deleted the feature/44-javaproperties-writer branch April 24, 2018 19:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant