PHP 8.3.31
Preview: DeprecatedAlias.php Size: 932 B
//proc/thread-self/root/home/getspomw/itechservicellc.com/vendor/symfony/routing/Attribute/DeprecatedAlias.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\Attribute;

/**
 * This class is meant to be used in {@see Route} to define an alias for a route.
 */
class DeprecatedAlias
{
    public function __construct(
        private string $aliasName,
        private string $package,
        private string $version,
        private string $message = '',
    ) {
    }

    public function getMessage(): string
    {
        return $this->message;
    }

    public function getAliasName(): string
    {
        return $this->aliasName;
    }

    public function getPackage(): string
    {
        return $this->package;
    }

    public function getVersion(): string
    {
        return $this->version;
    }
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
932 B lrw-r--r-- 2025-10-28 20:23:44
Edit Download
6.97 KB lrw-r--r-- 2025-10-28 20:23:44
Edit Download

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