Skip to content

How do I get the Output for the current Command #42488

Answered by stof
finn-matti asked this question in Q&A
Discussion options

You must be logged in to vote

There is no getOutput in Symfony because the Command receives the output object in its execute() method, not as part of its instantiation.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@javiereguiluz
Comment options

@finn-matti
Comment options

Answer selected by javiereguiluz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants