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

Commit7eb3051

Browse files
committed
Fixed syntax highlighting
1 parent876a55d commit7eb3051

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎cookbook/security/voters_data_permission.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ Creating the Custom Voter
5454
-------------------------
5555

5656
The goal is to create a voter that checks if a user has access to view or
57-
edit a particular object. Here's an example implementation::
57+
edit a particular object. Here's an example implementation
58+
59+
..code-block::php
5860
5961
// src/Acme/DemoBundle/Security/Authorization/Voter/PostVoter.php
6062
namespace Acme\DemoBundle\Security\Authorization\Voter;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp