rector/rules/Transform/ValueObject/StaticCallToNew.php
Tomas Votruba d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00

30 lines
520 B
PHP

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