PHP 8.2.31
Preview: UseAliasMetadata.php Size: 936 B
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/PhpAttribute/ValueObject/UseAliasMetadata.php

<?php

declare (strict_types=1);
namespace Rector\PhpAttribute\ValueObject;

use PhpParser\Node\Stmt\UseUse;
final class UseAliasMetadata
{
    /**
     * @readonly
     * @var string
     */
    private $shortAttributeName;
    /**
     * @readonly
     * @var string
     */
    private $useImportName;
    /**
     * @readonly
     * @var \PhpParser\Node\Stmt\UseUse
     */
    private $useUse;
    public function __construct(string $shortAttributeName, string $useImportName, UseUse $useUse)
    {
        $this->shortAttributeName = $shortAttributeName;
        $this->useImportName = $useImportName;
        $this->useUse = $useUse;
    }
    public function getShortAttributeName() : string
    {
        return $this->shortAttributeName;
    }
    public function getUseImportName() : string
    {
        return $this->useImportName;
    }
    public function getUseUse() : UseUse
    {
        return $this->useUse;
    }
}

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
936 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

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