mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-28 13:43:31 +00:00
35 lines
522 B
PHP
35 lines
522 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;
|
|
}
|
|
}
|