diff --git a/console/input.rst b/console/input.rst index ea6cd477d9e..2b6252ec75b 100644 --- a/console/input.rst +++ b/console/input.rst @@ -118,6 +118,9 @@ simply as a boolean flag without a value (e.g. ``--yell``). For example, add a new option to the command that can be used to specify how many times in a row the message should be printed:: + // ... + use Symfony\Component\Console\Input\InputOption; + $this // ... ->addOption(