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\Contracts\Store; | |
| 6 | ||
| 7 | interface Storable | |
| 8 | { | |
| 9 | /** @return array<string, mixed> */ | |
| 10 | public function toStorage(): array; | |
| 11 | ||
| 12 | /** @param array<string, mixed> $data */ | |
| 13 | public static function fromStorage(array $data): static; | |
| 14 | } |