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\Exception;
13:
14: /**
15: * This exception is thrown when you have requested ACLs for multiple object
16: * identities, but the AclProvider implementation failed to find ACLs for all
17: * identities.
18: *
19: * This exception contains the partial result.
20: *
21: * @author Johannes M. Schmitt <schmittjoh@gmail.com>
22: */
23: class NotAllAclsFoundException extends AclNotFoundException
24: {
25: private $partialResult;
26:
27: /**
28: * Sets the partial result
29: *
30: * @param \SplObjectStorage $result
31: */
32: public function setPartialResult(\SplObjectStorage $result)
33: {
34: $this->partialResult = $result;
35: }
36:
37: /**
38: * Returns the partial result
39: *
40: * @return \SplObjectStorage
41: */
42: public function getPartialResult()
43: {
44: return $this->partialResult;
45: }
46: }
47: