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

Breadcrumb

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

function BaseInstaller::inflectPackageVars

For an installer to override to modify the vars per installer.

Parameters

array<string, string> $vars This will normally receive array{name: string, vendor: string, type: string}:

Return value

array<string, string>

3 calls to BaseInstaller::inflectPackageVars()
BaseInstaller::getInstallPath in vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
Return the install path based on package type.
BitrixInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
For an installer to override to modify the vars per installer.
BitrixInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
For an installer to override to modify the vars per installer.
35 methods override BaseInstaller::inflectPackageVars()
AglInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/AglInstaller.php
Format package name to CamelCase
AkauntingInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/AkauntingInstaller.php
Format package name to CamelCase
AsgardInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
Format package name.
BitrixInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
For an installer to override to modify the vars per installer.
CakePHPInstaller::inflectPackageVars in vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
Format package name to CamelCase

... See full list

File

vendor/composer/installers/src/Composer/Installers/BaseInstaller.php, line 75

Class

BaseInstaller

Namespace

Composer\Installers

Code

public function inflectPackageVars(array $vars) : array {
    return $vars;
}

API Navigation

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