1 | <?php |
||
3 | class GeoCacheStatusEntity extends Oc\Repository\AbstractEntity |
||
|
|||
4 | { |
||
5 | /** @var int */ |
||
6 | public $id; |
||
7 | |||
8 | /** @var string */ |
||
9 | public $name; |
||
10 | |||
11 | /** @var int */ |
||
12 | public $transId; |
||
13 | |||
14 | /** @var string */ |
||
15 | public $de; |
||
16 | |||
17 | /** @var string */ |
||
18 | public $en; |
||
19 | |||
20 | /** @var int */ |
||
21 | public $allowUserView; |
||
22 | |||
23 | /** @var int */ |
||
24 | public $allowOwnerEditStatus; |
||
25 | |||
26 | /** @var int */ |
||
27 | public $allowUserLog; |
||
28 | |||
29 | /** |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function isNew() |
||
36 | } |
||
37 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.