We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876a55d commit 7eb3051Copy full SHA for 7eb3051
cookbook/security/voters_data_permission.rst
@@ -54,7 +54,9 @@ Creating the Custom Voter
54
-------------------------
55
56
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::
+edit a particular object. Here's an example implementation
58
+
59
+.. code-block:: php
60
61
// src/Acme/DemoBundle/Security/Authorization/Voter/PostVoter.php
62
namespace Acme\DemoBundle\Security\Authorization\Voter;
0 commit comments