The existing arguments stored in the builder are preserved.
You cannot add arguments after adding a multi-valued argument. If you do
so, this method throws an exception.
Adding required arguments after optional arguments is not supported.
Also in this case an exception is thrown.
public addArgument ( |
||
$argument | The argument to add. | |
return | static | The current instance. |