[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-zendframework-bridge/src/ -> ConfigPostProcessor.php (summary)

(no description)

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

Defines 1 class

ConfigPostProcessor:: (13 methods):
  __construct()
  __invoke()
  replace()
  merge()
  replacementRuleMatch()
  fallbackReplacement()
  replaceExactValue()
  replaceDependencyConfiguration()
  replaceDependencyAliases()
  replaceDependencyInvokables()
  noopReplacement()
  replaceDependencyFactories()
  replaceDependencyServices()


Class: ConfigPostProcessor  - X-Ref


__construct()   X-Ref
No description

__invoke(array $config, array $keys = [])   X-Ref
No description

replace($value, array $keys, $key = null)   X-Ref
Perform substitutions as needed on an individual value.

The $key is provided to allow fine-grained selection of rewrite rules.

param: mixed $value
param: string[] $keys Key hierarchy
param: null|int|string $key
return: mixed

merge(array $a, array $b)   X-Ref
Merge two arrays together.

If an integer key exists in both arrays, the value from the second array
will be appended to the first array. If both values are arrays, they are
merged together, else the value of the second array overwrites the one
of the first array.

Based on zend-stdlib Zend\Stdlib\ArrayUtils::merge
return: array

replacementRuleMatch($value, $key = null)   X-Ref

param: mixed $value
param: null|int|string $key
return: callable Callable to invoke with value

fallbackReplacement($value)   X-Ref
Replace a value using the translation table, if the value is a string.

param: mixed $value
return: mixed

replaceExactValue($value)   X-Ref
Replace a value matched exactly.

param: mixed $value
return: mixed

replaceDependencyConfiguration(array $config)   X-Ref
No description

replaceDependencyAliases(array $aliases)   X-Ref
Rewrite dependency aliases array

In this case, we want to keep the alias as-is, but rewrite the target.

We need also provide an additional alias if the alias key is a legacy class.

return: array

replaceDependencyInvokables(array $config)   X-Ref
Rewrite dependency invokables array

In this case, we want to keep the alias as-is, but rewrite the target.

We need also provide an additional alias if invokable is defined with
an alias which is a legacy class.

return: array

noopReplacement($value)   X-Ref

param: mixed $value
return: mixed Returns $value verbatim.

replaceDependencyFactories(array $config)   X-Ref
No description

replaceDependencyServices(array $config)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer