| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 1 | public function serialise(EntityInterface $entity) |
|
| 26 | { |
||
| 27 | 1 | $properties = []; |
|
| 28 | 1 | $properties[] = $this->stringEscaper->escape($entity->getName()); |
|
|
|
|||
| 29 | 1 | $properties[] = $this->stringEscaper->escape($entity->getDataSource()); |
|
| 30 | 1 | $properties[] = $this->stringEscaper->escape($entity->getDataField()); |
|
| 31 | 1 | $properties[] = $entity->getDisplayLength(); |
|
| 32 | 1 | $properties[] = $entity->getTrimTrailingSpaces(); |
|
| 33 | 1 | $properties[] = $entity->getNumberOfDecimals(); |
|
| 34 | 1 | $properties[] = $entity->getcPadding(); |
|
| 35 | 1 | $properties[] = $entity->getLength(); |
|
| 36 | |||
| 37 | 1 | return implode(',', $properties); |
|
| 38 | } |
||
| 40 |