You appear to be a bot. Output may be restricted
Description
Returns the case sensitive id used at registration time.
Usage
$string = Container::normalizeId( $id );
Parameters
- $id
- ( string ) required –
Returns
string
Source
File name: wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php
Lines:
1 to 16 of 16
public function normalizeId($id) { if (!\is_string($id)) { $id = (string) $id; } if (isset($this->normalizedIds[$normalizedId = \strtolower($id)])) { $normalizedId = $this->normalizedIds[$normalizedId]; if ($id !== $normalizedId) { @\trigger_error(\sprintf('Service identifiers will be made case sensitive in Symfony 4.0. Using "%s" instead of "%s" is deprecated since Symfony 3.3.', $id, $normalizedId), \E_USER_DEPRECATED); } } else { $normalizedId = $this->normalizedIds[$normalizedId] = $id; } return $normalizedId; }