The edge case of defining just one value for nodes of type Enum is now allowed:
$rootNode
->children()
->enumNode('variable')
->values(array('value'))
->end()
->end()
;
Before: InvalidArgumentException
(variable must contain at least two
distinct elements).
After: the code will work as expected and it will restrict the values of the
variable
option to just value
.
ResourceInterface::isFresh()
method. If you implement custom resource types and they
can be validated that way, make them implement the new SelfCheckingResourceInterface
.ConfigCacheInterface
, ConfigCacheFactoryInterface
and a basic ConfigCacheFactory
implementation to delegate creation of ConfigCache instancesnormalizeKeys()
method for array nodes (to avoid key normalization)Serializable
on resources