1 | <?php |
||
9 | class Tenant implements MultiTenantTenantInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var integer |
||
13 | */ |
||
14 | protected $id; |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name; |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $subdomain; |
||
23 | |||
24 | /** |
||
25 | * @param int $id |
||
26 | * |
||
27 | * @return $this |
||
28 | */ |
||
29 | public function setId($id) |
||
35 | |||
36 | /** |
||
37 | * @return int |
||
38 | */ |
||
39 | public function getId() |
||
43 | |||
44 | /** |
||
45 | * @param string $name |
||
46 | * |
||
47 | * @return $this |
||
48 | */ |
||
49 | public function setName($name) |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getName() |
||
63 | |||
64 | /** |
||
65 | * @param string $subdomain |
||
66 | * |
||
67 | * @return $this |
||
68 | */ |
||
69 | public function setSubdomain($subdomain) |
||
75 | |||
76 | /** |
||
77 | * @return string |
||
78 | */ |
||
79 | public function getSubdomain() |
||
83 | |||
84 | public function __toString() |
||
88 | } |
||
89 |