Preview: EventNameToClassAndConstant.php
Size: 859 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-symfony/src/ValueObject/EventNameToClassAndConstant.php
<?php
declare (strict_types=1);
namespace Rector\Symfony\ValueObject;
final class EventNameToClassAndConstant
{
/**
* @readonly
* @var string
*/
private $eventName;
/**
* @readonly
* @var string
*/
private $eventClass;
/**
* @readonly
* @var string
*/
private $eventConstant;
public function __construct(string $eventName, string $eventClass, string $eventConstant)
{
$this->eventName = $eventName;
$this->eventClass = $eventClass;
$this->eventConstant = $eventConstant;
}
public function getEventName() : string
{
return $this->eventName;
}
public function getEventClass() : string
{
return $this->eventClass;
}
public function getEventConstant() : string
{
return $this->eventConstant;
}
}
Directory Contents
Dirs: 4 × Files: 10