Source of file RoundcubeInstaller.php
Size: 0,454 Bytes - Last Modified: 2021-12-24T06:19:18+00:00
/var/www/docs.ssmods.com/process/src/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
12345678910111213141516171819202122 | <?php namespace Composer\Installers; class RoundcubeInstaller extends BaseInstaller { /** @var array<string, string> */ protected $locations = array( 'plugin' => 'plugins/{$name}/', ); /** * Lowercase name and changes the name to a underscores */ public function inflectPackageVars(array $vars): array { $vars['name'] = strtolower(str_replace('-', '_', $vars['name'])); return $vars; } } |