Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
4 / 4 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| ItemCanNotBeNormalizedInCurrentContext | |
100.00% |
4 / 4 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
4 / 4 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\Serializer\Exceptions; |
| 3 | |
| 4 | use Apie\Core\Exceptions\ApieException; |
| 5 | use Apie\Core\ValueObjects\Utils; |
| 6 | |
| 7 | class ItemCanNotBeNormalizedInCurrentContext extends ApieException |
| 8 | { |
| 9 | public function __construct(mixed $input) |
| 10 | { |
| 11 | parent::__construct(sprintf( |
| 12 | 'Item can not be normalized in current context "%s"', |
| 13 | Utils::displayMixedAsString($input) |
| 14 | )); |
| 15 | } |
| 16 | } |