mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 18:36:58 +01:00
24 lines
424 B
PHP
24 lines
424 B
PHP
<?php
|
|
|
|
namespace Psalm\Internal\Scanner\UnresolvedConstant;
|
|
|
|
use Psalm\Internal\Scanner\UnresolvedConstantComponent;
|
|
|
|
/**
|
|
* @psalm-immutable
|
|
*/
|
|
class ClassConstant extends UnresolvedConstantComponent
|
|
{
|
|
/** @var string */
|
|
public $fqcln;
|
|
|
|
/** @var string */
|
|
public $name;
|
|
|
|
public function __construct(string $fqcln, string $name)
|
|
{
|
|
$this->fqcln = $fqcln;
|
|
$this->name = $name;
|
|
}
|
|
}
|