[Console] Note about semantic verbosity methods & OutputInterface #5123
Labels
actionable
Clear and specific issues ready for anyone to take them.
Console
good first issue
Ideal for your first contribution! (some Symfony experience may be required)
hasPR
A Pull Request has already been submitted for this issue.
Hi,
the part about the more semantic methods in The Console Component > Creating a basic Command > Verbosity Levels could include a small note:
The semantic methods (
isQuiet
,isVerbose
, etc.) are only defined in the implementation class, not the interface. So if you typehint against the interface (as you should), your IDE will complain about missing methods.Maybe a small note there would clear that up? Or is it not necessary? What do you think?
The text was updated successfully, but these errors were encountered: