src/Parser/AST/Operator/ModificationCall.php
<?php declare(strict_types=1);
namespace Helmich\TypoScriptParser\Parser\AST\Operator;
/**
* A modification call (usually on the right-hand side of a modification statement).
*
* @package Helmich\TypoScriptParser
* @subpackage Parser\AST\Operator
*/
class ModificationCall
{
/**
* The method name.
*/
public string $method;
/**
* The argument list.
*/
public string $arguments;
/**
* Modification call constructor.
*
* @param string $method The method name.
* @param string $arguments The argument list.
*/
public function __construct(string $method, string $arguments)
{
$this->arguments = $arguments;
$this->method = $method;
}
}