PHP 8.3.31
Preview: AliasConfigurator.php Size: 1.15 KB
/proc/self/root/home/getspomw/itechservicellc.com/vendor/symfony/routing/Loader/Configurator/AliasConfigurator.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Routing\Loader\Configurator;

use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\Routing\Alias;

class AliasConfigurator
{
    public function __construct(
        private Alias $alias,
    ) {
    }

    /**
     * Whether this alias is deprecated, that means it should not be called anymore.
     *
     * @param string $package The name of the composer package that is triggering the deprecation
     * @param string $version The version of the package that introduced the deprecation
     * @param string $message The deprecation message to use
     *
     * @return $this
     *
     * @throws InvalidArgumentException when the message template is invalid
     */
    public function deprecate(string $package, string $version, string $message): static
    {
        $this->alias->setDeprecated($package, $version, $message);

        return $this;
    }
}

Directory Contents

Dirs: 1 × Files: 5

Name Size Perms Modified Actions
Traits DIR
- drwxr-xr-x 2025-11-18 19:24:12
Edit Download
1.15 KB lrw-r--r-- 2025-10-28 20:23:44
Edit Download
3.42 KB lrw-r--r-- 2025-10-28 20:23:44
Edit Download
1.91 KB lrw-r--r-- 2025-10-28 20:23:44
Edit Download
1.45 KB lrw-r--r-- 2025-10-28 20:23:44
Edit Download
2.04 KB lrw-r--r-- 2025-10-28 20:23:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).