Laravel - Artisan Console - Input Arrays

If you would like to define arguments or options to expect multiple input values, you may use the * character. First, let's take a look at an example that specifies such an argument:

    
    mail:send {user*}
	

When calling this method, the user arguments may be passed in order to the command line. For example, the following command will set the value of user to an array with foo and bar as its values:

    
    php artisan mail:send foo bar
	

This * character can be combined with an optional argument definition to allow zero or more instances of an argument:

    
    mail:send {user?*}