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