| Total Complexity | 10 |
| Total Lines | 136 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class SysLanguage extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * uid |
||
| 22 | * |
||
| 23 | * @var integer |
||
| 24 | */ |
||
| 25 | protected $uid; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * pid |
||
| 29 | * |
||
| 30 | * @var integer |
||
| 31 | */ |
||
| 32 | protected $pid; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * title |
||
| 36 | * |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | protected $title = ''; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * flag |
||
| 43 | * |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | protected $flag = ''; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * langIsocode |
||
| 50 | * |
||
| 51 | * @var string |
||
| 52 | */ |
||
| 53 | protected $langIsocode = ''; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Returns the uid |
||
| 57 | * |
||
| 58 | * @return string $uid |
||
| 59 | */ |
||
| 60 | public function getUid() |
||
| 61 | { |
||
| 62 | return $this->uid; |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Sets the uid |
||
| 67 | * |
||
| 68 | * @param string $uid |
||
| 69 | */ |
||
| 70 | public function setUid($uid) |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * Returns the pid |
||
| 77 | * |
||
| 78 | * @return string $pid |
||
| 79 | */ |
||
| 80 | public function getPid() |
||
| 81 | { |
||
| 82 | return $this->pid; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * Sets the pid |
||
| 87 | * |
||
| 88 | * @param string $pid |
||
| 89 | */ |
||
| 90 | public function setPid($pid) |
||
| 93 | } |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Returns the title |
||
| 97 | * |
||
| 98 | * @return string $title |
||
| 99 | */ |
||
| 100 | public function getTitle() |
||
| 101 | { |
||
| 102 | return $this->title; |
||
| 103 | } |
||
| 104 | |||
| 105 | /** |
||
| 106 | * Sets the title |
||
| 107 | * |
||
| 108 | * @param string $title |
||
| 109 | */ |
||
| 110 | public function setTitle($title) |
||
| 111 | { |
||
| 112 | $this->title = $title; |
||
| 113 | } |
||
| 114 | |||
| 115 | /** |
||
| 116 | * Returns the flag |
||
| 117 | * |
||
| 118 | * @return string $flag |
||
| 119 | */ |
||
| 120 | public function getFlag() |
||
| 121 | { |
||
| 122 | return $this->flag; |
||
| 123 | } |
||
| 124 | |||
| 125 | /** |
||
| 126 | * Sets the flag |
||
| 127 | * |
||
| 128 | * @param string $flag |
||
| 129 | */ |
||
| 130 | public function setFlag($flag) |
||
| 131 | { |
||
| 132 | $this->flag = $flag; |
||
| 133 | } |
||
| 134 | |||
| 135 | /** |
||
| 136 | * Returns the langIsocode |
||
| 137 | * |
||
| 138 | * @return string $langIsocode |
||
| 139 | */ |
||
| 140 | public function getLangIsocode() |
||
| 141 | { |
||
| 142 | return $this->langIsocode; |
||
| 143 | } |
||
| 144 | |||
| 145 | /** |
||
| 146 | * Sets the langIsocode |
||
| 147 | * |
||
| 148 | * @param string $langIsocode |
||
| 149 | */ |
||
| 150 | public function setLangIsocode($langIsocode) |
||
| 153 | } |
||
| 154 | } |
||
| 155 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.