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

Commit739f43f

Browse files
committed
minorsymfony#3669 Fixed syntax highlighting (rvanlaarhoven)
This PR was merged into the master branch.Discussion----------Fixed syntax highlightingFixed syntax highlighting for the PostVoter exampleCommits-------484b7b9 Added :7eb3051 Fixed syntax highlighting
2 parents857725b +484b7b9 commit739f43f

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