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 method can be implemented by domain objects which you want to store
16: * ACLs for if they do not have a getId() method, or getId() does not return
17: * a unique identifier.
18: *
19: * @author Johannes M. Schmitt <schmittjoh@gmail.com>
20: */
21: interface DomainObjectInterface
22: {
23: /**
24: * Returns a unique identifier for this domain object.
25: *
26: * @return string
27: */
28: public function getObjectIdentifier();
29: }
30: