Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Json; | |
| 6 | ||
| 7 | use JsonException; | |
| 8 | use Stewart\Contracts\Exception\StewartException; | |
| 9 | ||
| 10 | interface JsonFragment | |
| 11 | { | |
| 12 | /** @throws JsonException|StewartException */ | |
| 13 | public function encodeToJson(WireMapper $mapper): string; | |
| 14 | ||
| 15 | /** @throws StewartException */ | |
| 16 | public static function fromDecodedValue(mixed $value, string $path, WireMapper $mapper): static; | |
| 17 | } |