[L10n] Replace config values with setter methods

Review Request #33 — Created Dec. 26, 2012 and submitted — Latest diff uploaded

pprkut
Lunr
pprkut/logger_removal
lunr
This replaces the use of the Configuration class with dedicated setter methods.
All of the values previously stored in $config have reasonable default values, so having them in $config seemed unnecessary. The setters take care of corner cases while
the main use cases can now do completely without Configuration or setters.

This depends on http://reviews.lunr.nl/r/31/
Unit tests
docs/example-config/conf.l10n.inc.php.sample
src/Lunr/L10n/GettextL10nProvider.php
src/Lunr/L10n/L10nProvider.php
src/Lunr/L10n/PHPL10nProvider.php
src/Lunr/L10n/Tests/GettextL10nProviderBaseTest.php
src/Lunr/L10n/Tests/GettextL10nProviderTest.php
src/Lunr/L10n/Tests/L10nProviderBaseTest.php
src/Lunr/L10n/Tests/L10nProviderTest.php
src/Lunr/L10n/Tests/PHPL10nProviderBaseTest.php
src/Lunr/L10n/Tests/PHPL10nProviderLangTest.php
src/Lunr/L10n/Tests/PHPL10nProviderNlangTest.php
src/Lunr/L10n/Tests/PHPL10nProviderTest.php
tests/phpunit.xml
Loading...