Preview: ConstantWithAssertMethods.php
Size: 917 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-phpunit/src/ValueObject/ConstantWithAssertMethods.php
<?php
declare (strict_types=1);
namespace Rector\PHPUnit\ValueObject;
final class ConstantWithAssertMethods
{
/**
* @readonly
* @var string
*/
private $constant;
/**
* @readonly
* @var string
*/
private $assetMethodName;
/**
* @readonly
* @var string
*/
private $notAssertMethodName;
public function __construct(string $constant, string $assetMethodName, string $notAssertMethodName)
{
$this->constant = $constant;
$this->assetMethodName = $assetMethodName;
$this->notAssertMethodName = $notAssertMethodName;
}
public function getConstant() : string
{
return $this->constant;
}
public function getAssetMethodName() : string
{
return $this->assetMethodName;
}
public function getNotAssertMethodName() : string
{
return $this->notAssertMethodName;
}
}
Directory Contents
Dirs: 0 × Files: 4