Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jul 15, 2016
1 parent 2d21a17 commit fe05d1a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/console/helpers/dialoghelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,4 @@ input stream.
.. seealso::

You find more information about testing commands in the console component
docs about :ref:`testing console commands <component-console-testing-commands>`.
docs about :ref:`testing console commands <console-testing-commands>`.
6 changes: 4 additions & 2 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ output stream (to write messages to the console)::

// output a message without moving to a new line (the message will
// apear on one line)
$output->write('You\'re about to');
$output->write('You are about to ');
$output->write('generate an admin user.');
}

Expand All @@ -114,7 +114,7 @@ Now, try executing the command:
===============
Whoa!
You're about to generate an admin user.
You are about to generate an admin user.
Console Input
-------------
Expand Down Expand Up @@ -220,6 +220,8 @@ command:
This method is executed after ``interact()`` and ``initialize()``.
It contains the logic you want the command to execute.

.. _console-testing-commands:

Testing Commands
----------------

Expand Down
4 changes: 2 additions & 2 deletions console/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Manually Logging from a Console Command
---------------------------------------

This one is really simple. When you create a console command within the full-stack
framework as described in ":doc:`/console/console_command`", your command
extends :class:`Symfony\\Bundle\\FrameworkBundle\\Command\\ContainerAwareCommand`.
framework as described in ":doc:`/console`", your command extends
:class:`Symfony\\Bundle\\FrameworkBundle\\Command\\ContainerAwareCommand`.
This means that you can simply access the standard logger service through the
container and use it to do the logging::

Expand Down
2 changes: 1 addition & 1 deletion reference/dic_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ console.command
**Purpose**: Add a command to the application

For details on registering your own commands in the service container, read
:ref:`the cookbook article<cookbook-console-dic>`.
:doc:`/console/commands_as_services`.

data_collector
--------------
Expand Down

0 comments on commit fe05d1a

Please sign in to comment.