Mark V
1: <?php
2: namespace MOC\V\Component\Database\Component\Parameter\Repository;
3:
4: use MOC\V\Component\Database\Component\IParameterInterface;
5: use MOC\V\Component\Database\Component\Parameter\Parameter;
6:
7: /**
8: * Class DatabaseParameter
9: *
10: * @package MOC\V\Component\Database\Component\Parameter\Repository
11: */
12: class DatabaseParameter extends Parameter implements IParameterInterface
13: {
14:
15: /** @var string $Database */
16: private $Database = null;
17:
18: /**
19: * @param string $Database
20: */
21: public function __construct($Database)
22: {
23:
24: $this->setDatabase($Database);
25: }
26:
27: /**
28: * @return string
29: */
30: public function getDatabase()
31: {
32:
33: return $this->Database;
34: }
35:
36: /**
37: * @param string $Database
38: */
39: public function setDatabase($Database)
40: {
41:
42: $this->Database = $Database;
43: }
44: }
45: