8000 Complete rewrote FrameworkBundle config reference by wouterj · Pull Request #4736 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Complete rewrote FrameworkBundle config reference #4736

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

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Most recent Phpstorm version natively file links
Conflicts:
	reference/configuration/framework.rst
  • Loading branch information
ericroge authored and wouterj committed Feb 20, 2015
commit d9b1a085589593d564e651aa11c6008f92f285c0
11 changes: 5 additions & 6 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,16 @@ using the following keys:
The ``emacs`` and ``sublime`` editors were introduced in Symfony 2.3.14.

You can also specify a custom url string. If you do this, all percentage
signs (``%``) must be doubled to escape that character. For example, if you
have installed `PhpStormOpener`_ and use PHPstorm, you will do something like:
signs (``%``) must be doubled to escape that character. For example, if you use
PHPstorm on the Mac OS platform, you will do something like:

.. configuration-block::

.. code-block:: yaml

# app/config/config.yml
framework:
ide: "pstorm://%%f:%%l"
ide: "phpstorm://open?file=%%f&line=%%l"

.. code-block:: xml

Expand All @@ -218,14 +218,14 @@ have installed `PhpStormOpener`_ and use PHPstorm, you will do something like:
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<framework:config ide="pstorm://%%f:%%l" />
<framework:config ide="phpstorm://open?file=%%f&line=%%l" />
</container>

.. code-block:: php

// app/config/config.php
$container->loadFromExtension('framework', array(
'ide' => 'pstorm://%%f:%%l',
'ide' => 'phpstorm://open?file=%%f&line=%%l',
));

Of course, since every developer uses a different IDE, it's better to set
Expand Down Expand Up @@ -1278,7 +1278,6 @@ Whether to enable the ``serializer`` service or not in the service container.
For more details, see :doc:`/cookbook/serializer`.

.. _`protocol-relative`: http://tools.ietf.org/html/rfc3986#section-4.2
.. _`PhpStormOpener`: https://github.com/pinepain/PhpStormOpener
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
.. _`Security Advisory Blog post`: http://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
0