Adds an array of InputArgument objects.

@param InputArgument[] $arguments An array of InputArgument objects
495209
public function addArguments($arguments = [])
    {
        if (null !== $arguments) {
            foreach ($arguments as $argument) {
                $this->addArgument($argument);
            }
        }
    }
66057
public function setupSupportedArgs($arguments = [])
    {
        $defaults = [
            'help' => 'The help menu',
        ];

        $arguments = array_merge($defaults, $arguments);

        $this->supportedArgs = $arguments;

        return $this;
    }
265906
public function setArguments(array $arguments)
    {
    	foreach ($arguments as $k => $v) {
    		$this->arguments[$k] = $v;
    	}
        
        return $this;
    }
313256
public function add($argument)
    {
        if (!$argument instanceof ArgumentInterface) {
            throw new \InvalidArgumentException(
                'This Argument must be a instance of \ClassGeneration\ArgumentInterface'
            );
        }
        if ($argument->getName() === null) {
            $argument->setName('param' . ($this->count() + 1));
        }

        parent::offsetSet($argument->getName(), $argument);

        return true;
    }
592027
protected function addMany(array $arguments = [])
    {
        foreach ($arguments as $name => $options) {
            $this->add($name, $options);
        }
    }
426882
protected function _argsToString(array $arguments) {
		$stringArguments = '';
		foreach ($arguments as $name => $value) {
			if (is_numeric($name)) {
				$stringArguments .= ' ' . $value;
			} else {
				$stringArguments .= ' ' . $name . ' ' . ProcessUtils::escapeArgument($value);
			}
		}

		return $stringArguments;
	}
486985
void add(final Argument argument) {
        if (argument != null) {
            if (argument.multipleValuesAllowed()) {
                Collection<Argument> arguments = map.get(argument.getKey());
                if (arguments == null) {
                    arguments = new ArrayList<>();
                    map.put(argument.getKey(), arguments);
                }
                arguments.add(argument);
            } else {
                set(argument);
            }
        }
    }
740388
public function fillObjectProps($arguments) {
        foreach ($arguments as $key => $value) {
            if (!in_array($key, $this->fillable)) {
                throw new \Exception(_message(ExceptionMessages::INAPPROPRIATE_PROPERTY, $key));
            }

            $this->$key = $value;
        }
    }
781856
public function add($type, $arguments = [])
    {
        /*
         | By default we will tag all assets to 'default' index
         */
        if ($this->where == 'default') {
            $this->where('default');
        }

        switch ($type) {
            case 'style':
                call_user_func_array([$this, $type], $arguments);
                break;
            case 'script':
                call_user_func_array([$this, $type], $arguments);
                break;
            case 'link':
                call_user_func_array([$this, $type], $arguments);
                break;
        }

        return $this;
    }
1032629
public function addArguments(array $arguments): Service
    {
        $this->arguments = array_replace($this->arguments ?? [], $arguments);

        return $this;
    }
103264
private function formatArguments(Array $arguments)
    {
        $echoArguments = [];
        $argsLength = 0;
        foreach ($arguments as $argument => $desc) {
            $argument = Colour::colour($argument, Colour::GREEN);
            $echoArguments[$argument] = $desc;
            $argsLength > strlen($argument) || $argsLength = strlen($argument);
        }
        return $echoArguments;
    }
185223
protected function removeArgumentsFromTemplateVariableContainer(array $arguments)
    {
        $templateVariableContainer = $this->getWidgetRenderingContext()->getTemplateVariableContainer();
        foreach ($arguments as $identifier => $value) {
            $templateVariableContainer->remove($identifier);
        }
    }
823551
protected function replaceArgumentsTokens(array $arguments)
    {
        foreach ($arguments as $num => $argument) {
            if ($argument instanceof TableNode) {
                $arguments[$num] = $this->replaceTableArgumentTokens($argument);
            }
            if ($argument instanceof PyStringNode) {
                $arguments[$num] = $this->replacePyStringArgumentTokens($argument);
            }
        }

        return $arguments;
    }
1063009
protected function setProperties(array $arguments)
    {
        if (isset($arguments[0])) {
            $this->address = $arguments[0];
        }

        if (isset($arguments[1])) {
            $this->amount = $arguments[1];
        }

        if (isset($arguments[2])) {
            $this->setOptions($arguments[2]);
        }
    }
1263166
public function arguments(array $arguments = [])
    {
        if (empty($arguments)) {
            return $this->arguments;
        }

        foreach ($arguments as $key => $value) {
            if (!isset($this->requirements[$key])) {
                $this->arguments[$key] = $value;
                continue;
            }

            $this->assertArgumentValue($key, $this->requirements[$key], $value);
            $this->arguments[$key] = $value;
        }

        return $this->arguments;
    }
809622
public function withArgs($args = [])
    {
        if (!is_array($args)) {
            $args = func_get_args();
        }

        $this->args = $args;
        return $this;
    }
1353102
public function addArguments(array $argumentList, $force = true)
    {
        foreach ($argumentList as $argument) {
            $this->addArgument($argument, $force);
        }

        return $this;
    }