Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\Lists; |
| 3 | |
| 4 | use ArrayAccess; |
| 5 | use Countable; |
| 6 | use IteratorAggregate; |
| 7 | use JsonSerializable; |
| 8 | use stdClass; |
| 9 | |
| 10 | /** |
| 11 | * @template T |
| 12 | * @extends ArrayAccess<string, T> |
| 13 | * @extends IteratorAggregate<string, T> |
| 14 | */ |
| 15 | interface HashmapInterface extends ArrayAccess, JsonSerializable, Countable, Arrayable, IteratorAggregate |
| 16 | { |
| 17 | /** |
| 18 | * @param string $offset |
| 19 | * @return T |
| 20 | */ |
| 21 | public function offsetGet(mixed $offset): mixed; |
| 22 | /** |
| 23 | * @param int|string $offset |
| 24 | * @param T $value |
| 25 | */ |
| 26 | public function offsetSet(mixed $offset, mixed $value): void; |
| 27 | |
| 28 | /** |
| 29 | * @return stdClass |
| 30 | */ |
| 31 | public function jsonSerialize(): stdClass; |
| 32 | } |