Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| AbstractAmicronEntity | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __toString | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Satag\AmicronEntityBundle\Entity; |
| 4 | |
| 5 | use Satag\AmicronEntityBundle\Traits\LfdnrTraitInterface; |
| 6 | |
| 7 | abstract class AbstractAmicronEntity implements \Stringable, LfdnrTraitInterface |
| 8 | { |
| 9 | public function __toString(): string |
| 10 | { |
| 11 | return \sprintf('%s#%s', static::class, $this->getLfdnr() ?? 'new'); |
| 12 | } |
| 13 | } |