Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MauticInstaller.php

function MauticInstaller::toCamelCase

1 call to MauticInstaller::toCamelCase()
MauticInstaller::getDirectoryName in vendor/composer/installers/src/Composer/Installers/MauticInstaller.php

File

vendor/composer/installers/src/Composer/Installers/MauticInstaller.php, line 26

Class

MauticInstaller

Namespace

Composer\Installers

Code

private function toCamelCase(string $packageName) : string {
    return str_replace(' ', '', ucwords(str_replace('-', ' ', basename($packageName))));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal