mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-15 05:15:04 +01:00
32 lines
833 B
PHP
32 lines
833 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\Php80\ValueObject;
|
|
|
|
use PhpParser\Node\Expr\ArrayDimFetch;
|
|
use PhpParser\Node\Expr\ConstFetch;
|
|
final class ArrayDimFetchAndConstFetch
|
|
{
|
|
/**
|
|
* @var \PhpParser\Node\Expr\ArrayDimFetch
|
|
*/
|
|
private $arrayDimFetch;
|
|
/**
|
|
* @var \PhpParser\Node\Expr\ConstFetch
|
|
*/
|
|
private $constFetch;
|
|
public function __construct(\PhpParser\Node\Expr\ArrayDimFetch $arrayDimFetch, \PhpParser\Node\Expr\ConstFetch $constFetch)
|
|
{
|
|
$this->arrayDimFetch = $arrayDimFetch;
|
|
$this->constFetch = $constFetch;
|
|
}
|
|
public function getArrayDimFetch() : \PhpParser\Node\Expr\ArrayDimFetch
|
|
{
|
|
return $this->arrayDimFetch;
|
|
}
|
|
public function getConstFetch() : \PhpParser\Node\Expr\ConstFetch
|
|
{
|
|
return $this->constFetch;
|
|
}
|
|
}
|