2020-03-29 00:06:05 +01:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2020-03-29 00:06:05 +01:00
|
|
|
namespace Rector\NodeCollector\ValueObject;
|
|
|
|
|
|
|
|
final class ArrayCallable
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private $class;
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private $method;
|
|
|
|
public function __construct(string $class, string $method)
|
|
|
|
{
|
|
|
|
$this->class = $class;
|
|
|
|
$this->method = $method;
|
|
|
|
}
|
2021-05-09 20:15:43 +00:00
|
|
|
public function getClass() : string
|
2020-03-29 00:06:05 +01:00
|
|
|
{
|
|
|
|
return $this->class;
|
|
|
|
}
|
2021-05-09 20:15:43 +00:00
|
|
|
public function getMethod() : string
|
2020-03-29 00:06:05 +01:00
|
|
|
{
|
|
|
|
return $this->method;
|
|
|
|
}
|
|
|
|
}
|