Skip to content

Cleaned up typos in chapter comparing Sf2 and sf1 #2324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 30, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cookbook/symfony1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ So, sit back and relax as you travel from "then" to "now".
Directory Structure
-------------------

When looking at a Symfony2 project - for example, the `Symfony2 Standard`_ -
When looking at a Symfony2 project - for example, the `Symfony2 Standard Edition`_ -
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also change this on the bottom of the page (where all links are placed)

you'll notice a very different directory structure than in symfony1. The
differences, however, are somewhat superficial.

Expand Down Expand Up @@ -133,13 +133,13 @@ example::
}

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

.. code-block:: php

Expand Down Expand Up @@ -367,4 +367,4 @@ In reality, the Symfony2 configuration is much more powerful and is used
primarily to configure objects that you can use. For more information, see
the chapter titled ":doc:`/book/service_container`".

.. _`Symfony2 Standard`: https://github.com/symfony/symfony-standard
.. _`Symfony2 Standard Edition`: https://github.com/symfony/symfony-standard