Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved interfaces and naming #18

Merged
merged 10 commits into from
Oct 18, 2015
Merged

Improved interfaces and naming #18

merged 10 commits into from
Oct 18, 2015

Conversation

sandrokeil
Copy link
Owner

Added

  • #9: Introducing ProvidesDefaultOptions interface
  • #13: Support for recursive mandatory options check
  • canRetrieveOptions() to ConfigurationTrait to perform the options check without throwing an exception
  • optionsWithFallback() to ConfigurationTrait which uses default options if config can not be retrieved
  • OptionNotFoundException and MandatoryOptionNotFoundException extends OutOfBoundsException instead of RuntimeException
  • Check if retrieved options are an array or an instance of ArrayAccess
  • Benchmark suite
  • Updated documentation

Deprecated

  • Nothing

Removed

  • HasConfig interface, was renamed to RequiresConfig
  • HasContainer interface, was renamed to RequiresContainerId
  • HasMandatoryOptions interface, was renamed to RequiresMandatoryOptions
  • HasDefaultOptions interface, was renamed to ProvidesDefaultOptions
  • ObtainsOptions interface, was merged in RequiresConfig
  • OptionalOptions interface, can be achieved via ProvidesDefaultOptions

Fixed

  • fixed wrong function name in documentation

sandrokeil added a commit that referenced this pull request Oct 18, 2015
Improved interfaces and naming
@sandrokeil sandrokeil merged commit 4049c30 into master Oct 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant