![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/rector/rector/src/Set/ValueObject/ |
<?php declare (strict_types=1); namespace Rector\Set\ValueObject; use Rector\Set\Contract\SetInterface; use RectorPrefix202410\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; } }