File tree 3 files changed +49
-0
lines changed
stubs/Symfony/Component/Security/Acl/Model
3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ parameters:
26
26
- stubs/Symfony/Component/HttpFoundation/Session.stub
27
27
- stubs/Symfony/Component/Process/Process.stub
28
28
- stubs/Symfony/Component/PropertyAccess/PropertyPathInterface.stub
29
+ - stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub
30
+ - stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub
29
31
- stubs/Symfony/Component/Serializer/Encoder/ContextAwareDecoderInterface.stub
30
32
- stubs/Symfony/Component/Serializer/Encoder/DecoderInterface.stub
31
33
- stubs/Symfony/Component/Serializer/Encoder/EncoderInterface.stub
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Security\Acl\Model;
4
+
5
+ interface AclInterface
6
+ {
7
+
8
+ /**
9
+ * Returns all class-based ACEs associated with this ACL.
10
+ *
11
+ * @return array<int, EntryInterface>
12
+ */
13
+ public function getClassAces();
14
+
15
+ /**
16
+ * Returns all class-field-based ACEs associated with this ACL.
17
+ *
18
+ * @param string $field
19
+ *
20
+ * @return array<int, EntryInterface>
21
+ */
22
+ public function getClassFieldAces($field);
23
+
24
+ /**
25
+ * Returns all object-based ACEs associated with this ACL.
26
+ *
27
+ * @return array<int, EntryInterface>
28
+ */
29
+ public function getObjectAces();
30
+
31
+ /**
32
+ * Returns all object-field-based ACEs associated with this ACL.
33
+ *
34
+ * @param string $field
35
+ *
36
+ * @return array<int, EntryInterface>
37
+ */
38
+ public function getObjectFieldAces($field);
39
+
40
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Security\Acl\Model;
4
+
5
+ interface EntryInterface
6
+ {
7
+ }
You can’t perform that action at this time.
0 commit comments