File "RoundcubeInstaller.php"

Full Path: /home/jlklyejr/public_html/wp-content/test/wp-content/plugins/kirki/kirki-composer/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
File size: 454 bytes
MIME-type: text/x-php
Charset: utf-8

<?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;
    }
}