Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf962e9a

Browse files
committed
Merge branch '2.1' into 2.2
2 parentsb0d7e95 +735e2db commitf962e9a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎components/dom_crawler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Extract attribute and/or node values from the list of nodes::
138138
Call an anonymous function on each node of the list::
139139

140140
$nodeValues = $crawler->filter('p')->each(function ($node, $i) {
141-
return $node->nodeValue;
141+
return $node->text();
142142
});
143143

144144
The anonymous function receives the position and the node as arguments.

‎cookbook/configuration/front_controllers_and_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ and return the resulting response to the browser.
4040

4141
Because every request is routed through it, the front controller can be
4242
used to perform global initializations prior to setting up the kernel or
43-
to*`decorate`_* the kernel with additional features. Examples include:
43+
to `decorate`_ the kernel with additional features. Examples include:
4444

4545
* Configuring the autoloader or adding additional autoloading mechanisms;
4646
* Adding HTTP level caching by wrapping the kernel with an instance of

‎cookbook/security/voters.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
How to implement your own Voter to blacklist IP Addresses
55
=========================================================
66

7-
The Symfony2 security component provides several layers toauthenticate users.
7+
The Symfony2 security component provides several layers toauthorize users.
88
One of the layers is called a `voter`. A voter is a dedicated class that checks
99
if the user has the rights to be connected to the application. For instance,
10-
Symfony2 provides a layer that checks if the user is fullyauthenticated or if
10+
Symfony2 provides a layer that checks if the user is fullyauthorized or if
1111
it has some expected roles.
1212

1313
It is sometimes useful to create a custom voter to handle a specific case not

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp