1 | <?php |
||
31 | class Tx_FeatureFlag_Domain_Model_FeatureFlag extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
||
32 | { |
||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $description; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $flag; |
||
42 | |||
43 | /** |
||
44 | * @var boolean |
||
45 | */ |
||
46 | protected $enabled; |
||
47 | |||
48 | /** |
||
49 | * @param boolean $enabled |
||
50 | */ |
||
51 | 1 | public function setEnabled($enabled) |
|
55 | |||
56 | /** |
||
57 | * @return boolean |
||
58 | */ |
||
59 | 1 | public function isEnabled() |
|
63 | |||
64 | /** |
||
65 | * @param string $description |
||
66 | */ |
||
67 | 1 | public function setDescription($description) |
|
71 | |||
72 | /** |
||
73 | * @return string |
||
74 | */ |
||
75 | 1 | public function getDescription() |
|
79 | |||
80 | /** |
||
81 | * @param string $flag |
||
82 | */ |
||
83 | 1 | public function setFlag($flag) |
|
87 | |||
88 | /** |
||
89 | * @return string |
||
90 | */ |
||
91 | 1 | public function getFlag() |
|
95 | } |
||
96 |
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.