Skip to content

[Console] Note about semantic verbosity methods & OutputInterface #5123

Closed
@apfelbox

Description

@apfelbox

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsoleactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions