| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function serializeObject() |
||
| 24 | { |
||
| 25 | $parentValue = parent::serializeObject(); |
||
| 26 | |||
| 27 | $result = [ |
||
| 28 | 'id' => $parentValue['id'], |
||
| 29 | 'schema' => ScimConstantsV1::CORE, |
||
| 30 | ]; |
||
| 31 | |||
| 32 | unset($parentValue['id']); |
||
| 33 | unset($parentValue['schemas']); |
||
| 34 | |||
| 35 | foreach ($parentValue as $k => $v) { |
||
| 36 | $result[$k] = $v; |
||
| 37 | } |
||
| 38 | |||
| 39 | return $result; |
||
| 40 | } |
||
| 42 |