1: <?php
2:
3: namespace Mapbender\WmsBundle\Component;
4:
5: /**
6: * Authority class.
7: *
8: * @author Paul Schmidt
9: */
10: class Authority
11: {
12:
13: /**
14: * ORM\Column(type="string", nullable=true)
15: */
16: //@TODO Doctrine bug: "protected" replaced with "public"
17: public $url;
18:
19: /**
20: * ORM\Column(type="string", nullable=true)
21: */
22: //@TODO Doctrine bug: "protected" replaced with "public"
23: public $name;
24:
25: /**
26: * Get url
27: *
28: * @return string
29: */
30: public function getUrl()
31: {
32: return $this->url;
33: }
34:
35: /**
36: * Set url
37: * @param string $value
38: * @return Authority
39: */
40: public function setUrl($value)
41: {
42: $this->url = $value;
43: return $this;
44: }
45:
46: /**
47: * Get name
48: *
49: * @return string
50: */
51: public function getName()
52: {
53: return $this->name;
54: }
55:
56: /**
57: * Set name
58: * @param string $value
59: * @return Authority
60: */
61: public function setName($value)
62: {
63: $this->name = $value;
64: return $this;
65: }
66: }
67: