ZfExtensionManagerSfContainer::$canonicalNamesReplacements

Same name in this branch
  1. 9 core/modules/aggregator/src/ZfExtensionManagerSfContainer.php \Drupal\aggregator\ZfExtensionManagerSfContainer::canonicalNamesReplacements
Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php \Drupal\Component\Bridge\ZfExtensionManagerSfContainer::canonicalNamesReplacements

A map of characters to be replaced through strtr.

This property is based on Laminas service manager.

@link https://github.com/laminas/laminas-servicemanager for the canonical source repository @copyright Copyright (c) 2019, Laminas Foundation. (https://getlaminas.org/) @license https://github.com/laminas/laminas-servicemanager/blob/master/LICENSE.md

Type: array

See also

\Drupal\Component\Bridge\ZfExtensionManagerSfContainer::canonicalizeName().

https://github.com/laminas/laminas-servicemanager/blob/2.7.11/src/Serviā€¦

File

core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php, line 36

Class

ZfExtensionManagerSfContainer
Defines a bridge between the Laminas service manager to Symfony container.

Namespace

Drupal\Component\Bridge

Code

protected $canonicalNamesReplacements = [
    '-' => '',
    '_' => '',
    ' ' => '',
    '\\' => '',
    '/' => '',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.