PHP 8.2.31
Preview: AnnotationWithValueToAttribute.php Size: 1018 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-phpunit/src/ValueObject/AnnotationWithValueToAttribute.php

<?php

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

final class AnnotationWithValueToAttribute
{
    /**
     * @readonly
     * @var string
     */
    private $annotationName;
    /**
     * @readonly
     * @var string
     */
    private $attributeClass;
    /**
     * @var array<mixed, mixed>
     * @readonly
     */
    private $valueMap = [];
    /**
     * @param array<mixed, mixed> $valueMap
     */
    public function __construct(string $annotationName, string $attributeClass, array $valueMap = [])
    {
        $this->annotationName = $annotationName;
        $this->attributeClass = $attributeClass;
        $this->valueMap = $valueMap;
    }
    public function getAnnotationName() : string
    {
        return $this->annotationName;
    }
    public function getAttributeClass() : string
    {
        return $this->attributeClass;
    }
    /**
     * @return array<mixed, mixed>
     */
    public function getValueMap() : array
    {
        return $this->valueMap;
    }
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
1018 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
946 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
917 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
945 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

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