PHP 8.2.31
Preview: Set.php Size: 985 B
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Set/ValueObject/Set.php

<?php

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

use Rector\Set\Contract\SetInterface;
use RectorPrefix202411\Webmozart\Assert\Assert;
/**
 * @api used by extensions
 */
final class Set implements SetInterface
{
    /**
     * @readonly
     * @var string
     */
    private $groupName;
    /**
     * @readonly
     * @var string
     */
    private $setName;
    /**
     * @readonly
     * @var string
     */
    private $setFilePath;
    public function __construct(string $groupName, string $setName, string $setFilePath)
    {
        $this->groupName = $groupName;
        $this->setName = $setName;
        $this->setFilePath = $setFilePath;
        Assert::fileExists($setFilePath);
    }
    public function getGroupName() : string
    {
        return $this->groupName;
    }
    public function getName() : string
    {
        return $this->setName;
    }
    public function getSetFilePath() : string
    {
        return $this->setFilePath;
    }
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
1.84 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.86 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
985 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
3.30 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

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