Prechádzať zdrojové kódy

Add note to documentation

Jérôme Vasseur 10 rokov pred
rodič
commit
4f7ea254d5
1 zmenil súbory, kde vykonal 6 pridanie a 0 odobranie
  1. 6 0
      Resources/doc/reference/console.rst

+ 6 - 0
Resources/doc/reference/console.rst

@@ -33,6 +33,12 @@ As an argument you need to specify the fully qualified model class.
 All passed arguments and options are used as default values in interactive mode.
 All passed arguments and options are used as default values in interactive mode.
 You can disable the interactive mode with ``--no-interaction`` option.
 You can disable the interactive mode with ``--no-interaction`` option.
 
 
+The command require the SensioGeneratorBundle to work. If you don't already have it, you can install it with :
+
+.. code-block:: bash
+
+    composer require --dev sensio/generator-bundle
+
 Options are:
 Options are:
  * ``bundle``: the bundle name (the default value is determined by the given model class, e.g. "YourNSFooBundle")
  * ``bundle``: the bundle name (the default value is determined by the given model class, e.g. "YourNSFooBundle")
  * ``admin``: the admin class basename (by default this adds "Admin" to the model class name, e.g. "BarAdmin")
  * ``admin``: the admin class basename (by default this adds "Admin" to the model class name, e.g. "BarAdmin")