8000 Changing init:bundle to use forward-slashes · chtitux/symfony-docs@8d32d7f · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d32d7f

Browse files
committed
Changing init:bundle to use forward-slashes
This solution - though technically "wrong", is much more dependable since you don't have to worry about the backslash being mistaken as an escape character.
1 parent dedd4da commit 8d32d7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ going to need to build a form. But before you begin, let's focus on the generic
5656

5757
.. code-block:: text
5858
59-
php app/console init:bundle "Acme\StoreBundle" src/
59+
php app/console init:bundle Acme/StoreBundle src/
6060
6161
This type of class is commonly called a "plain-old-PHP-object" because, so far,
6262
it has nothing to do with Symfony or any other library. It's quite simply a

book/page_creation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ build in this chapter), run the following command:
5858

5959
.. code-block:: text
6060
61-
php app/console init:bundle "Acme\HelloBundle" src
61+
php app/console init:bundle Acme/HelloBundle src
6262
6363
Next, be sure that the ``Acme`` namespace is loaded by adding the following
6464
to the ``app/autoload.php`` file (see the :ref:`Autoloading sidebar<autoloading-introduction-sidebar>`):
@@ -611,7 +611,7 @@ be used.
611611
And as easy as this is, Symfony also provides a command-line interface for
612612
generating a basic bundle skeleton::
613613

614-
php app/console init:bundle "Acme\TestBundle" src
614+
php app/console init:bundle Acme/TestBundle src
615615

616616
The bundle skeleton generates with a basic controller, template and routing
617617
resource that can be customized. We'll talk more about Symfony2's command-line

0 commit comments

Comments
 (0)
0