mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-14 04:44:57 +01:00
30 lines
627 B
PHP
30 lines
627 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Transform\ValueObject;
|
|
|
|
final class PropertyAndClassMethodName
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $propertyName;
|
|
/**
|
|
* @var string
|
|
*/
|
|
private $classMethodName;
|
|
public function __construct(string $propertyName, string $classMethodName)
|
|
{
|
|
$this->propertyName = $propertyName;
|
|
$this->classMethodName = $classMethodName;
|
|
}
|
|
public function getPropertyName() : string
|
|
{
|
|
return $this->propertyName;
|
|
}
|
|
public function getClassMethodName() : string
|
|
{
|
|
return $this->classMethodName;
|
|
}
|
|
}
|