30 lines
522 B
PHP
Raw Normal View History

2020-03-29 00:06:05 +01:00
<?php
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;
}
public function getClass() : string
2020-03-29 00:06:05 +01:00
{
return $this->class;
}
public function getMethod() : string
2020-03-29 00:06:05 +01:00
{
return $this->method;
}
}