Skip to content

Commit 33d18c5

Browse files
committed
Merge branch '2.2' into 2.3
2 parents b675661 + 6c23aeb commit 33d18c5

File tree

7 files changed

+14
-9
lines changed

7 files changed

+14
-9
lines changed

book/page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ front controller that can be used with any environment.)
5252
When the front controller initializes the kernel, it provides two parameters:
5353
the environment, and also whether the kernel should run in debug mode.
5454
To make your application respond faster, Symfony2 maintains a cache under the
55-
``app/cache/`` directory. When in debug mode is enabled (such as ``app_dev.php``
55+
``app/cache/`` directory. When debug mode is enabled (such as ``app_dev.php``
5656
does by default), this cache is flushed automatically whenever you make changes
5757
to any code or configuration. When running in debug mode, Symfony2 runs
5858
slower, but your changes are reflected without having to manually clear the

components/dependency_injection/definitions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To get an array of the constructor arguments for a definition you can use::
6666
or to get a single argument by its position::
6767

6868
$definition->getArgument($index);
69-
//e.g. $definition->getArgument(0) for the first argument
69+
// e.g. $definition->getArgument(0) for the first argument
7070

7171
You can add a new argument to the end of the arguments array using::
7272

components/filesystem.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ Rename
174174
:method:`Symfony\\Component\\Filesystem\\Filesystem::rename` is used to rename
175175
files and directories::
176176

177-
//rename a file
177+
// rename a file
178178
$fs->rename('/tmp/processed_video.ogg', '/path/to/store/video_647.ogg');
179-
//rename a directory
179+
// rename a directory
180180
$fs->rename('/tmp/files', '/path/to/store/files');
181181

182182
symlink

components/http_foundation/session_configuration.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,17 @@ using the `Native*SessionHandler` classes, while
249249
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\SessionHandlerProxy`
250250
will be used to wrap any custom save handlers, that implement :phpclass:`SessionHandlerInterface`.
251251

252-
Under PHP 5.4 and above, all session handlers implement :phpclass:`SessionHandlerInterface`
252+
From PHP 5.4 and above, all session handlers implement :phpclass:`SessionHandlerInterface`
253253
including `Native*SessionHandler` classes which inherit from :phpclass:`SessionHandler`.
254254

255255
The proxy mechanism allows you to get more deeply involved in session save handler
256256
classes. A proxy for example could be used to encrypt any session transaction
257257
without knowledge of the specific save handler.
258258

259+
.. note::
260+
261+
Before PHP 5.4, you can only proxy user-land save handlers but not
262+
native PHP save handlers.
263+
259264
.. _`php.net/session.customhandler`: http://php.net/session.customhandler
260265
.. _`php.net/session.configuration`: http://php.net/session.configuration

cookbook/configuration/apache_router.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ to ``ApacheRequest`` in ``web/app.php``::
129129

130130
require_once __DIR__.'/../app/bootstrap.php.cache';
131131
require_once __DIR__.'/../app/AppKernel.php';
132-
//require_once __DIR__.'/../app/AppCache.php';
132+
// require_once __DIR__.'/../app/AppCache.php';
133133

134134
use Symfony\Component\HttpFoundation\ApacheRequest;
135135

136136
$kernel = new AppKernel('prod', false);
137137
$kernel->loadClassCache();
138-
//$kernel = new AppCache($kernel);
138+
// $kernel = new AppCache($kernel);
139139
$kernel->handle(ApacheRequest::createFromGlobals())->send();

cookbook/security/acl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cannot only be based on the person (``Token``) who is requesting access, but
99
also involve a domain object that access is being requested for. This is where
1010
the ACL system comes in.
1111

12-
.. sidebar:: Alternatives to ACLS
12+
.. sidebar:: Alternatives to ACLs
1313

1414
Using ACL's isn't trivial, and for simpler use cases, it may be overkill.
1515
If your permission logic could be described by just writing some code (e.g.

cookbook/security/entity_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ this:
649649
650650
.. code-block:: text
651651
652-
$ mysql> select * from acme_users;
652+
$ mysql> select * from acme_role;
653653
+----+-------+------------+
654654
| id | name | role |
655655
+----+-------+------------+

0 commit comments

Comments
 (0)