1: <?php
2:
3: namespace Mapbender\WmsBundle\Component;
4:
5: /**
6: * IdentifierAuthority class. An instance of the class IdentifierAuthority
7: * conbines an Identifier with an Authority of a WmsLayerSource.
8: *
9: * @author Paul Schmidt
10: */
11: class IdentifierAuthority
12: {
13:
14: /**
15: * Identifier
16: *
17: * @var Identifier
18: */
19: protected $identifier;
20:
21: /**
22: * Authority
23: *
24: * @var Authority
25: */
26: protected $authority;
27:
28: /**
29: * Set authority
30: *
31: * @param Authority $authority
32: * @return IdentifierAuthority
33: */
34: public function setAuthority(Authority $authority)
35: {
36: $this->authority = $authority;
37: return $this;
38: }
39:
40: /**
41: * Get authority
42: *
43: * @return Authority
44: */
45: public function getAuthority()
46: {
47: return $this->authority;
48: }
49:
50: /**
51: * Set identifier
52: *
53: * @param Identifier $identifier
54: * @return IdentifierAuthority
55: */
56: public function setIdentifier(Identifier $identifier)
57: {
58: $this->identifier = $identifier;
59: return $this;
60: }
61:
62: /**
63: * Get identifier
64: *
65: * @return Identifier
66: */
67: public function getIdentifier()
68: {
69: return $this->identifier;
70: }
71:
72: }
73:
74: ?>
75: