1 | <?php |
||
12 | final class ShibbolethMetadataScopeList implements Countable, IteratorAggregate, Serializable |
||
13 | { |
||
14 | /** |
||
15 | * @var ShibbolethMetadataScope[] |
||
16 | */ |
||
17 | private $scopes = array(); |
||
18 | |||
19 | /** |
||
20 | * @param ShibbolethMetadataScope[] $scopes |
||
21 | */ |
||
22 | public function __construct(array $scopes = array()) |
||
28 | |||
29 | /** |
||
30 | * @param string $string |
||
31 | * @return bool |
||
32 | */ |
||
33 | public function inScope($string) |
||
45 | |||
46 | /** |
||
47 | * @param ShibbolethMetadataScope $scope |
||
48 | * @return ShibbolethMetadataScopeList |
||
49 | */ |
||
50 | public function add(ShibbolethMetadataScope $scope) |
||
54 | |||
55 | /** |
||
56 | * @param ShibbolethMetadataScope $shibbolethMetadataScope |
||
57 | * @return bool |
||
58 | */ |
||
59 | public function contains(ShibbolethMetadataScope $shibbolethMetadataScope) |
||
69 | |||
70 | /** |
||
71 | * @param ShibbolethMetadataScope $shibbolethMetadataScope |
||
72 | * @return int |
||
73 | */ |
||
74 | public function indexOf(ShibbolethMetadataScope $shibbolethMetadataScope) |
||
84 | |||
85 | /** |
||
86 | * @param int $index |
||
87 | * @return ShibbolethMetadataScope |
||
88 | */ |
||
89 | public function get($index) |
||
103 | |||
104 | /** |
||
105 | * @param ShibbolethMetadataScopeList $other |
||
106 | * @return bool |
||
107 | */ |
||
108 | public function equals(ShibbolethMetadataScopeList $other) |
||
122 | |||
123 | /** |
||
124 | * @return ShibbolethMetadataScope[] |
||
125 | */ |
||
126 | public function toArray() |
||
130 | |||
131 | public function getIterator() |
||
135 | |||
136 | public function count() |
||
140 | |||
141 | public static function deserialize($data) |
||
151 | |||
152 | public function serialize() |
||
158 | |||
159 | public function __toString() |
||
163 | } |
||
164 |