1: <?php
2:
3: /*
4: * This file is part of the Symfony package.
5: *
6: * (c) Fabien Potencier <fabien@symfony.com>
7: *
8: * For the full copyright and license information, please view the LICENSE
9: * file that was distributed with this source code.
10: */
11:
12: namespace Symfony\Component\Security\Acl\Model;
13:
14: /**
15: * This interface adds auditing capabilities to the ACL.
16: *
17: * @author Johannes M. Schmitt <schmittjoh@gmail.com>
18: */
19: interface AuditableAclInterface extends MutableAclInterface
20: {
21: /**
22: * Updates auditing for class-based ACE
23: *
24: * @param int $index
25: * @param bool $auditSuccess
26: * @param bool $auditFailure
27: */
28: public function updateClassAuditing($index, $auditSuccess, $auditFailure);
29:
30: /**
31: * Updates auditing for class-field-based ACE
32: *
33: * @param int $index
34: * @param string $field
35: * @param bool $auditSuccess
36: * @param bool $auditFailure
37: */
38: public function updateClassFieldAuditing($index, $field, $auditSuccess, $auditFailure);
39:
40: /**
41: * Updates auditing for object-based ACE
42: *
43: * @param int $index
44: * @param bool $auditSuccess
45: * @param bool $auditFailure
46: */
47: public function updateObjectAuditing($index, $auditSuccess, $auditFailure);
48:
49: /**
50: * Updates auditing for object-field-based ACE
51: *
52: * @param int $index
53: * @param string $field
54: * @param bool $auditSuccess
55: * @param bool $auditFailure
56: */
57: public function updateObjectFieldAuditing($index, $field, $auditSuccess, $auditFailure);
58: }
59: