Skip to content

Commit de268d2

Browse files
VincentLangletondrejmirtes
authored andcommitted
Add back AclInterface stub
1 parent 21e6ec5 commit de268d2

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

Diff for: extension.neon

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ parameters:
2626
- stubs/Symfony/Component/HttpFoundation/Session.stub
2727
- stubs/Symfony/Component/Process/Process.stub
2828
- stubs/Symfony/Component/PropertyAccess/PropertyPathInterface.stub
29+
- stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub
30+
- stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub
2931
- stubs/Symfony/Component/Serializer/Encoder/ContextAwareDecoderInterface.stub
3032
- stubs/Symfony/Component/Serializer/Encoder/DecoderInterface.stub
3133
- stubs/Symfony/Component/Serializer/Encoder/EncoderInterface.stub
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Symfony\Component\Security\Acl\Model;
4+
5+
interface EntryInterface
6+
{
7+
}

0 commit comments

Comments
 (0)