mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 10:43:35 +01:00
41 lines
801 B
PHP
41 lines
801 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Rector\Removing\ValueObject;
|
||
|
|
||
|
final class RemoveFuncCall
|
||
|
{
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
private $funcCall;
|
||
|
|
||
|
/**
|
||
|
* @var array<int, mixed[]>
|
||
|
*/
|
||
|
private $argumentPositionAndValues = [];
|
||
|
|
||
|
/**
|
||
|
* @param array<int, mixed[]> $argumentPositionAndValues
|
||
|
*/
|
||
|
public function __construct(string $funcCall, array $argumentPositionAndValues = [])
|
||
|
{
|
||
|
$this->funcCall = $funcCall;
|
||
|
$this->argumentPositionAndValues = $argumentPositionAndValues;
|
||
|
}
|
||
|
|
||
|
public function getFuncCall(): string
|
||
|
{
|
||
|
return $this->funcCall;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return array<int, mixed[]>
|
||
|
*/
|
||
|
public function getArgumentPositionAndValues(): array
|
||
|
{
|
||
|
return $this->argumentPositionAndValues;
|
||
|
}
|
||
|
}
|