|
@@ -172,7 +172,7 @@ Console output from workers
|
|
|
If you need your worker to output information to the console, you can have your worker class implement `Mmoreram\\GearmanBundle\\Command\\Util\\GearmanOutputAwareInterface`.
|
|
|
|
|
|
This interface requires a single method be implemented `public function setOutput(OutputInterface $output);`.
|
|
|
-To avoid needing to check the output is available, you can by default set it to an instance of `Symfony\\Component\\Console\\Output\NullOutput`.
|
|
|
+To avoid needing to check the output is available, you can by default set it to an instance of `Symfony\\Component\\Console\\Output\\NullOutput`.
|
|
|
|
|
|
.. code-block:: php
|
|
|
|