Skip to content
Browse files

Add API docs for #9958

  • Loading branch information...
markstory committed Jan 3, 2017
1 parent 5a3d301 commit 1a250ac276ea57aadd06b4764c01112f3994c83c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Console/ConsoleOptionParser.php
@@ -343,6 +343,8 @@ public function epilog($text = null)
* - `boolean` - The option uses no value, it's just a boolean switch. Defaults to false.
* If an option is defined as boolean, it will always be added to the parsed params. If no present
* it will be false, if present it will be true.
* - `multiple` - The option can be provided multiple times. The parsed option
* will be an array of values when this option is enabled.
* - `choices` A list of valid choices for this option. If left empty all values are valid..
* An exception will be raised when parse() encounters an invalid value.

0 comments on commit 1a250ac

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.