rector/rules/Transform/ValueObject/FunctionToStaticCall.php
Tomas Votruba cdc3b7adef Updated Rector to commit f451b0b8e1
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00

39 lines
725 B
PHP

<?php
declare (strict_types=1);
namespace Rector\Transform\ValueObject;
final class FunctionToStaticCall
{
/**
* @var string
*/
private $function;
/**
* @var string
*/
private $class;
/**
* @var string
*/
private $method;
public function __construct(string $function, string $class, string $method)
{
$this->function = $function;
$this->class = $class;
$this->method = $method;
}
public function getClass() : string
{
return $this->class;
}
public function getMethod() : string
{
return $this->method;
}
public function getFunction() : string
{
return $this->function;
}
}