mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-13 22:52:23 +00:00
fc10fce13d
* re-enable rectify and ecs * [Rectify] [Php81] Enable Rectify on Readonly Property only * comment * [ci-review] Rector Rectify * [ci-review] Rector Rectify * [ci-review] Rector Rectify * [ci-review] Rector Rectify * [ci-review] Rector Rectify Co-authored-by: GitHub Action <action@github.com>
33 lines
566 B
PHP
33 lines
566 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Rector\NodeCollector\ValueObject;
|
|
|
|
use PhpParser\Node\Expr;
|
|
|
|
final class ArrayCallableDynamicMethod
|
|
{
|
|
public function __construct(
|
|
private readonly Expr $callerExpr,
|
|
private readonly string $class,
|
|
private readonly Expr $method
|
|
) {
|
|
}
|
|
|
|
public function getClass(): string
|
|
{
|
|
return $this->class;
|
|
}
|
|
|
|
public function getMethod(): Expr
|
|
{
|
|
return $this->method;
|
|
}
|
|
|
|
public function getCallerExpr(): Expr
|
|
{
|
|
return $this->callerExpr;
|
|
}
|
|
}
|