VariableNode::hasDefaultValue()

bool hasDefaultValue() Returns true when the node has a default value. Return Value bool If the node has a default value

UnsetKeyException

class UnsetKeyException extends Exception This exception is usually not encountered by the end-user, but only used internally to signal the parent scope to unset a key.

Component\Config\Definition\Builder

Classes ArrayNodeDefinition This class provides a fluent interface for defining an array node. BooleanNodeDefinition This class provides a fluent interface for defining a node. EnumNodeDefinition Enum Node Definition. ExprBuilder This class builds an if expression. FloatNodeDefinition This class provides a fluent interface for defining a float node. IntegerNodeDefinition This class provides a fluent interface for defining an integer node. MergeBuilder This class build

Processor::normalizeConfig()

static array normalizeConfig(array $config, string $key, string $plural = null) Normalizes a configuration entry. This method returns a normalize configuration array for a given key to remove the differences due to the original format (YAML and XML mainly). Here is an example. The configuration in XML: twig.extension.footwig.extension.bar And the same configuration in YAML: extensions: ['twig.extension.foo', 'twig.extension.bar'] Parameters array $config A config arr

Processor::process()

array process(NodeInterface $configTree, array $configs) Processes an array of configurations. Parameters NodeInterface $configTree The node tree describing the configuration array $configs An array of configuration items to process Return Value array The processed configuration

FormRenderer::getEngine()

FormRendererEngineInterface getEngine() Returns the engine used by this renderer. Return Value FormRendererEngineInterface The renderer engine

Acl::unserialize()

unserialize(string $serialized) Implementation for the \Serializable interface Parameters string $serialized

NodeBuilder::floatNode()

FloatNodeDefinition floatNode(string $name) Creates a child float node. Parameters string $name the name of the node Return Value FloatNodeDefinition The child node

RequestMatcher::matchIps()

matchIps(string|string[] $ips) Adds a check for the client IP. Parameters string|string[] $ips A specific IP address or a range specified using IP/netmask like 192.168.1.0/24

Route::setName()

setName($name) Parameters $name