Neos\Flow\Aop\JoinPoint::setMethodArgument PHP Метод

setMethodArgument() публичный Метод

Sets the value of the specified method argument
public setMethodArgument ( string $argumentName, mixed $argumentValue ) : void
$argumentName string Name of the argument
$argumentValue mixed Value of the argument
Результат void
    public function setMethodArgument($argumentName, $argumentValue)
    {
        if (!array_key_exists($argumentName, $this->methodArguments)) {
            throw new InvalidArgumentException('The argument "' . $argumentName . '" does not exist in method ' . $this->className . '->' . $this->methodName, 1309260269);
        }
        $this->methodArguments[$argumentName] = $argumentValue;
    }