PHP Classes

File: vendor/symfony/config/

Recommend this page to a friend!
  Classes of Gavin Gordon Markowski  >  Helphp PHP Class Generator  >  vendor/symfony/config/  >  Download  
File: vendor/symfony/config/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Helphp PHP Class Generator
Generate classes from configuration parameters
Author: By
Last change:
Date: 4 months ago
Size: 2,017 bytes


Class file image Download



* removed ReferenceDumper class * removed the ResourceInterface::isFresh() method * removed BCResourceInterfaceChecker class * removed ResourceInterface::getResource() method


The edge case of defining just one value for nodes of type Enum is now allowed:


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.

* deprecated the ResourceInterface::isFresh() method. If you implement custom resource types and they can be validated that way, make them implement the new SelfCheckingResourceInterface. * deprecated the getResource() method in ResourceInterface. You can still call this method on concrete classes implementing the interface, but it does not make sense at the interface level as you need to know about the particular type of resource at hand to understand the semantics of the returned value.


* added ConfigCacheInterface, ConfigCacheFactoryInterface and a basic ConfigCacheFactory implementation to delegate creation of ConfigCache instances


* added ArrayNodeDefinition::canBeEnabled() and ArrayNodeDefinition::canBeDisabled() to ease configuration when some sections are respectively disabled / enabled by default. * added a normalizeKeys() method for array nodes (to avoid key normalization) * added numerical type handling for config definitions * added convenience methods for optional configuration sections to ArrayNodeDefinition * added a utils class for XML manipulations


* added a way to add documentation on configuration * implemented Serializable on resources * LoaderResolverInterface is now used instead of LoaderResolver for type hinting

For more information send a message to info at phpclasses dot org.