[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/config/Definition/ -> BaseNode.php (summary)

The base node class.

Author: Johannes M. Schmitt <schmittjoh@gmail.com>
File Size: 381 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 27 functions


Functions that are not part of a class:

__construct($name, NodeInterface $parent = null)   X-Ref

param: string|null        $name   The name of the node
param: NodeInterface|null $parent The parent of this node

setAttribute($key, $value)   X-Ref

param: string $key

getAttribute($key, $default = null)   X-Ref

param: string $key
return: mixed

hasAttribute($key)   X-Ref

param: string $key
return: bool

getAttributes()   X-Ref

return: array

setAttributes(array $attributes)   X-Ref
No description

removeAttribute($key)   X-Ref

param: string $key

setInfo($info)   X-Ref
Sets an info message.

param: string $info

getInfo()   X-Ref
Returns info message.

return: string|null The info text

setExample($example)   X-Ref
Sets the example configuration for this node.

param: string|array $example

getExample()   X-Ref
Retrieves the example configuration for this node.

return: string|array|null The example

addEquivalentValue($originalValue, $equivalentValue)   X-Ref
Adds an equivalent value.

param: mixed $originalValue
param: mixed $equivalentValue

setRequired($boolean)   X-Ref
Set this node as required.

param: bool $boolean Required node

setDeprecated($message)   X-Ref
Sets this node as deprecated.

You can use %node% and %path% placeholders in your message to display,
respectively, the node name and its complete path.

param: string|null $message Deprecated message

setAllowOverwrite($allow)   X-Ref
Sets if this node can be overridden.

param: bool $allow

setNormalizationClosures(array $closures)   X-Ref
Sets the closures used for normalization.

param: \Closure[] $closures An array of Closures used for normalization

setFinalValidationClosures(array $closures)   X-Ref
Sets the closures used for final validation.

param: \Closure[] $closures An array of Closures used for final validation

isRequired()   X-Ref

isDeprecated()   X-Ref
Checks if this node is deprecated.

return: bool

getDeprecationMessage($node, $path)   X-Ref
Returns the deprecated message.

param: string $node the configuration node name
param: string $path the path of the node
return: string

getName()   X-Ref

getPath()   X-Ref

merge($leftSide, $rightSide)   X-Ref

normalize($value)   X-Ref

preNormalize($value)   X-Ref
Normalizes the value before any other normalization is applied.

param: mixed $value
return: mixed The normalized array value

getParent()   X-Ref
Returns parent node for this node.

return: NodeInterface|null

finalize($value)   X-Ref

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1