This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/OptionsResolver
Fabien Potencier 21d9320be2 Merge branch '4.4'
* 4.4:
  Adding .gitattributes to remove Tests directory from "dist"
  [Messenger] Don't deep merge routing.senders config option
2019-09-16 10:16:50 +02:00
..
Debug [OptionsResolver] Add a new method addNormalizer and normalization hierarchy 2019-03-31 13:47:13 +02:00
Exception Mark ExceptionInterfaces throwable 2018-08-29 17:58:00 +02:00
Tests [OptionsResolver] Display full nested options hierarchy in exceptions 2019-08-23 08:29:55 +02:00
.gitattributes Adding .gitattributes to remove Tests directory from "dist" 2019-09-16 10:12:51 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md Remove deprecated code paths that trigger a runtime notice 2019-06-09 16:44:48 +02:00
composer.json Bump Symfony 5.0 to PHP 7.2 2019-05-28 18:49:20 +02:00
LICENSE update year in license files 2019-01-01 14:45:19 +01:00
Options.php [OptionsResolver] fix adding $triggerDeprecation to Options::offsetGet() 2019-06-09 18:15:03 +02:00
OptionsResolver.php Merge branch '4.4' 2019-09-08 22:44:36 +02:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md Fixed readme of OptionsResolver 2016-05-06 22:13:08 +02:00

OptionsResolver Component

The OptionsResolver component is array_replace on steroids. It allows you to create an options system with required options, defaults, validation (type, value), normalization and more.

Resources