function Container::camelize
Camelizes a string.
6 calls to Container::camelize()
- AddModerationDeriver::getDerivativeDefinitions in core/
modules/ content_moderation/ src/ Plugin/ ConfigAction/ AddModerationDeriver.php - Gets the definition of all derivatives of a base plugin.
- EntityViewsData::mapSingleFieldViewsData in core/
modules/ views/ src/ EntityViewsData.php - Provides the views data for a given data type and schema field.
- PermissionsPerBundleDeriver::getDerivativeDefinitions in core/
lib/ Drupal/ Core/ Config/ Action/ Plugin/ ConfigAction/ Deriver/ PermissionsPerBundleDeriver.php - Gets the definition of all derivatives of a base plugin.
- PhpDumper::generateMethodName in vendor/
symfony/ dependency-injection/ Dumper/ PhpDumper.php - ViewsHandlerManager::__construct in core/
modules/ views/ src/ Plugin/ ViewsHandlerManager.php - Constructs a ViewsHandlerManager object.
File
-
vendor/
symfony/ dependency-injection/ Container.php, line 315
Class
- Container
- Container is a dependency injection container.
Namespace
Symfony\Component\DependencyInjectionCode
public static function camelize(string $id) : string {
return strtr(ucwords(strtr($id, [
'_' => ' ',
'.' => '_ ',
'\\' => '_ ',
])), [
' ' => '',
]);
}