| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class MemberMergeFields implements JsonSerializable |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $fName; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $lName; |
||
| 20 | |||
| 21 | public function jsonSerialize() |
||
| 22 | { |
||
| 23 | return [ |
||
| 24 | 'FNAME' => $this->getFName(), |
||
| 25 | 'LNAME' => $this->getLName() |
||
| 26 | ]; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getFName(): string |
||
| 30 | { |
||
| 31 | return $this->fName; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function setFName(string $fName): MemberMergeFields |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getLName(): string |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setLName(string $lName): MemberMergeFields |
||
| 49 | } |
||
| 50 | } |
||
| 51 |