Skip to content

Commit b0c5bc7

Browse files
committed
Fixed name of Symfony Standard Edition
Fixed paths to example autoloader files (...bundles not ...bundle)
1 parent 7199787 commit b0c5bc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/symfony1.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ So, sit back and relax as you travel from "then" to "now".
2020
Directory Structure
2121
-------------------
2222

23-
When looking at a Symfony2 project - for example, the `Symfony2 Standard`_ -
23+
When looking at a Symfony2 project - for example, the `Symfony2 Standard Edition`_ -
2424
you'll notice a very different directory structure than in symfony1. The
2525
differences, however, are somewhat superficial.
2626

@@ -133,13 +133,13 @@ example::
133133
}
134134

135135
The file itself lives at
136-
``vendor/bundle/Sensio/Bundle/FrameworkExtraBundle/SensioFrameworkExtraBundle.php``.
136+
``vendor/bundles/Sensio/Bundle/FrameworkExtraBundle/SensioFrameworkExtraBundle.php``.
137137
As you can see, the location of the file follows the namespace of the class.
138138
Specifically, the namespace, ``Sensio\Bundle\FrameworkExtraBundle``, spells out
139139
the directory that the file should live in
140-
(``vendor/bundle/Sensio/Bundle/FrameworkExtraBundle``). This is because, in the
140+
(``vendor/bundles/Sensio/Bundle/FrameworkExtraBundle``). This is because, in the
141141
``app/autoload.php`` file, you'll configure Symfony to look for the ``Sensio``
142-
namespace in the ``vendor/bundle`` directory:
142+
namespace in the ``vendor/bundles`` directory:
143143

144144
.. code-block:: php
145145

0 commit comments

Comments
 (0)