public function setMethodArgument($argumentName, $argumentValue): void
    {
        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;
    }
public function setMethodArgument($argumentName, $argumentValue): void
    {
        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;
    }
public function setMethodArgument ( $ argumentName , $ argumentValue ) : void { 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 ; }
Sets the value of the specified method argument

@param string $argumentName Name of the argument
@param mixed $argumentValue Value of the argument
@return void
@throws Exception\InvalidArgumentException
@api
Sets the value of the specified method argument