1 | <?php |
||
11 | class Client extends BaseClient |
||
12 | { |
||
13 | /** |
||
14 | * @ORM\Id |
||
15 | * @ORM\Column(type="integer") |
||
16 | * @ORM\GeneratedValue(strategy="AUTO") |
||
17 | */ |
||
18 | protected $id; |
||
19 | |||
20 | /** |
||
21 | * @ORM\Column(type="string") |
||
22 | */ |
||
23 | public $type; |
||
24 | |||
25 | 2 | public function __construct() |
|
29 | |||
30 | 2 | public function setType($type) |
|
36 | |||
37 | 2 | public function getType() |
|
41 | |||
42 | /** |
||
43 | * Check if the given client type is the same as the current user. |
||
44 | * |
||
45 | * @param string $typeToCheck client type to check |
||
46 | * |
||
47 | * @return bool |
||
48 | */ |
||
49 | 2 | public function isTypeEqualsTo($typeToCheck) |
|
53 | } |
||
54 |