[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

File Size: 379 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ArrayNode:: (19 methods):
  setNormalizeKeys()
  preNormalize()
  getChildren()
  setXmlRemappings()
  getXmlRemappings()
  setAddIfNotSet()
  setAllowFalse()
  setAllowNewKeys()
  setPerformDeepMerging()
  setIgnoreExtraKeys()
  setName()
  hasDefaultValue()
  getDefaultValue()
  addChild()
  finalizeValue()
  validateType()
  normalizeValue()
  remapXml()
  mergeValues()


Class: ArrayNode  - X-Ref

Represents an Array node in the config tree.

setNormalizeKeys($normalizeKeys)   X-Ref
No description

preNormalize($value)   X-Ref
{@inheritdoc}

Namely, you mostly have foo_bar in YAML while you have foo-bar in XML.
After running this method, all keys are normalized to foo_bar.

If you have a mixed key like foo-bar_moo, it will not be altered.
The key will also not be altered if the target key already exists.

getChildren()   X-Ref
Retrieves the children of this node.

return: array The children

setXmlRemappings(array $remappings)   X-Ref
Sets the xml remappings that should be performed.

param: array $remappings An array of the form [[string, string]]

getXmlRemappings()   X-Ref
Gets the xml remappings that should be performed.

return: array an array of the form [[string, string]]

setAddIfNotSet($boolean)   X-Ref
Sets whether to add default values for this array if it has not been
defined in any of the configuration files.

param: bool $boolean

setAllowFalse($allow)   X-Ref
Sets whether false is allowed as value indicating that the array should be unset.

param: bool $allow

setAllowNewKeys($allow)   X-Ref
Sets whether new keys can be defined in subsequent configurations.

param: bool $allow

setPerformDeepMerging($boolean)   X-Ref
Sets if deep merging should occur.

param: bool $boolean

setIgnoreExtraKeys($boolean, $remove = true)   X-Ref
Whether extra keys should just be ignored without an exception.

param: bool $boolean To allow extra keys
param: bool $remove  To remove extra keys

setName($name)   X-Ref
{@inheritdoc}


hasDefaultValue()   X-Ref
{@inheritdoc}


getDefaultValue()   X-Ref
{@inheritdoc}


addChild(NodeInterface $node)   X-Ref
Adds a child node.


finalizeValue($value)   X-Ref
Finalizes the value of this node.

param: mixed $value
return: mixed The finalised value

validateType($value)   X-Ref
Validates the type of the value.

param: mixed $value

normalizeValue($value)   X-Ref
Normalizes the value.

param: mixed $value The value to normalize
return: mixed The normalized value

remapXml($value)   X-Ref
Remaps multiple singular values to a single plural value.

param: array $value The source values
return: array The remapped values

mergeValues($leftSide, $rightSide)   X-Ref
Merges values together.

param: mixed $leftSide  The left side to merge
param: mixed $rightSide The right side to merge
return: mixed The merged values



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1