File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ parameters:
4
4
constant_hassers : true
5
5
console_application_loader : null
6
6
stubFiles :
7
+ - stubs/AclProviderInterface.stub
7
8
- stubs/ChoiceLoaderInterface.stub
8
9
- stubs/Constraint.stub
9
10
- stubs/ContainerBuilder.stub
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Security\Acl\Model;
4
+
5
+ use Symfony\Component\Security\Acl\Model\AclInterface;
6
+
7
+ /**
8
+ * @template TAcl of AclInterface
9
+ */
10
+ interface AclProviderInterface extends AclProviderInterface
11
+ {
12
+ /**
13
+ * @phpstan-return TAcl
14
+ */
15
+ public function findAcl(ObjectIdentityInterface $oid, array $sids = []);
16
+
17
+ /**
18
+ * @phpstan-return \SplObjectStorage<ObjectIdentityInterface, TAcl>
19
+ */
20
+ public function findAcls(array $oids, array $sids = []);
21
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Security\Acl\Model;
4
+
5
+ use Symfony\Component\Security\Acl\Model\MutableAclInterface;
6
+
7
+ /**
8
+ * @extends AclProviderInterface<MutableAclInterface>
9
+ */
10
+ interface MutableAclProviderInterface extends AclProviderInterface
11
+ {
12
+ /**
13
+ * @phpstan-return TAcl
14
+ */
15
+ public function findAcl(ObjectIdentityInterface $oid, array $sids = []);
16
+
17
+ /**
18
+ * @phpstan-return \SplObjectStorage<ObjectIdentityInterface, TAcl>
19
+ */
20
+ public function findAcls(array $oids, array $sids = []);
21
+ }
You can’t perform that action at this time.
0 commit comments