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

Commit11237e7

Browse files
committed
Merge branch '2.8'
2 parentsb3a32af +2c1328e commit11237e7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎cookbook/security/voters_data_permission.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ and tag it with ``security.voter``:
169169
xsi:schemaLocation="http://symfony.com/schema/dic/services
170170
http://symfony.com/schema/dic/services/services-1.0.xsd">
171171
<services>
172-
<serviceid="security.access.post_document_voter"
172+
<serviceid="security.access.post_voter"
173173
class="AppBundle\Security\Authorization\Voter\PostVoter"
174174
public="false">
175175
<tagname="security.voter" />
@@ -182,9 +182,10 @@ and tag it with ``security.voter``:
182182
// src/AppBundle/Resources/config/services.php
183183
$container
184184
->register(
185-
'security.access.post_document_voter',
185+
'security.access.post_voter',
186186
'AppBundle\Security\Authorization\Voter\PostVoter'
187187
)
188+
->setPublic(false)
188189
->addTag('security.voter')
189190
;
190191

‎create_framework/unit-testing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@ Symfony code.
185185
Now that we are confident (again) about the code we have written, we can
186186
safely think about the next batch of features we want to add to our framework.
187187

188-
.. _`PHPUnit`:http://www.phpunit.de/manual/current/en/index.html
189-
.. _`test doubles`:http://www.phpunit.de/manual/current/en/test-doubles.html
188+
.. _`PHPUnit`:http://phpunit.de/manual/current/en/index.html
189+
.. _`test doubles`:http://phpunit.de/manual/current/en/test-doubles.html
190190
.. _`XDebug`:http://xdebug.org/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp