| Current Path : /var/www/www.indacotrentino.com/www/vendor/rector/rector/src/ValueObject/ |
| Current File : /var/www/www.indacotrentino.com/www/vendor/rector/rector/src/ValueObject/FuncCallAndExpr.php |
<?php
declare (strict_types=1);
namespace Rector\Core\ValueObject;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\FuncCall;
final class FuncCallAndExpr
{
/**
* @readonly
* @var \PhpParser\Node\Expr\FuncCall
*/
private $funcCall;
/**
* @readonly
* @var \PhpParser\Node\Expr
*/
private $expr;
public function __construct(FuncCall $funcCall, Expr $expr)
{
$this->funcCall = $funcCall;
$this->expr = $expr;
}
public function getFuncCall() : FuncCall
{
return $this->funcCall;
}
public function getExpr() : Expr
{
return $this->expr;
}
}