Skip to content

Conversation

@weaverryan
Copy link
Member

Q A
Doc fix? yes #5062
New docs? no
Applies to 2.3+
Fixed tickets #5062

Hi guys!

This is a proofread and bug fix after merging #5062. Notably, I changed to use the BufferedOutput and returned a Response from the controller instead of the string.

Please let me know if you see any errors - I was coding this right inside the docs 😇.

Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing use statement for response

@weaverryan weaverryan force-pushed the command-controller-tweaks branch from 2457940 to 59f8c95 Compare May 23, 2015 16:18
@weaverryan weaverryan merged commit aad7277 into 2.3 May 23, 2015
weaverryan added a commit that referenced this pull request May 23, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Command controller tweaks to #5062

| Q             | A
| ------------- | ---
| Doc fix?      | yes #5062
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | #5062

Hi guys!

This is a proofread and bug fix after merging #5062. Notably, I changed to use the `BufferedOutput` and returned a Response from the controller instead of the string.

Please let me know if you see any errors - I was coding this right inside the docs 😇.

Thanks!

Commits
-------

aad7277 Fixing things thanks to Wouter
59f8c95 Tweaks to the new using commands in a controller article
@weaverryan weaverryan deleted the command-controller-tweaks branch May 23, 2015 16:35
@rvanlaak
Copy link
Contributor

👍

Never heard of the BufferedOutput, that solved a big problem I was facing earlier this month.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong. BufferedOutput does not exist in 2.3. It is a 2.4+ feature

wouterj added a commit that referenced this pull request Jun 19, 2015
… (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Cookbook][Console] don't use BufferedOutput on Symfony 2.3

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #5299 (comment)

As @stof pointed out in #5299 (comment), the `StreamOutput` class is not available on Symfony 2.3. This should be reverted after merging it up to the `2.6` branch.

Commits
-------

4e9e0dd don't use BufferedOutput on Symfony 2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants