Skip to content

Commit dcf2c27

Browse files
committed
[#2749] Reverting some mult-line commands that use the "\" character.
This is technically correct, and prevents the scrollbar online, but I don't want to confuse any users with these
1 parent ae25cdb commit dcf2c27

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

book/doctrine.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,12 @@ just a simple PHP class.
208208
.. tip::
209209

210210
Once you learn the concepts behind Doctrine, you can have Doctrine create
211-
simple entity classes for you:
211+
simple entity classes for you. This will ask you interactive questions
212+
to help you build any entity:
212213

213214
.. code-block:: bash
214215
215-
$ php app/console doctrine:generate:entity \
216-
--entity="AcmeStoreBundle:Product" \
217-
--fields="name:string(255) price:float description:text"
216+
$ php app/console doctrine:generate:entity
218217
219218
.. index::
220219
single: Doctrine; Adding mapping metadata
@@ -899,8 +898,7 @@ you can let Doctrine create the class for you.
899898

900899
.. code-block:: bash
901900
902-
$ php app/console doctrine:generate:entity --entity="AcmeStoreBundle:Category" \
903-
--fields="name:string(255)"
901+
$ php app/console doctrine:generate:entity --entity="AcmeStoreBundle:Category" --fields="name:string(255)"
904902
905903
This task generates the ``Category`` entity for you, with an ``id`` field,
906904
a ``name`` field and the associated getter and setter functions.

book/installation.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ Distribution:
5757

5858
.. code-block:: bash
5959
60-
$ php composer.phar create-project \
61-
symfony/framework-standard-edition /path/to/webroot/Symfony 2.2.0
60+
$ php composer.phar create-project symfony/framework-standard-edition /path/to/webroot/Symfony 2.2.0
6261
6362
.. tip::
6463

book/templating.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,8 +1430,7 @@ console command:
14301430
.. code-block:: bash
14311431
14321432
# You can check by filename:
1433-
$ php app/console twig:lint \
1434-
src/Acme/ArticleBundle/Resources/views/Article/recentList.html.twig
1433+
$ php app/console twig:lint src/Acme/ArticleBundle/Resources/views/Article/recentList.html.twig
14351434
14361435
# or by directory:
14371436
$ php app/console twig:lint src/Acme/ArticleBundle/Resources/views

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy