Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class AgencyHydrator extends Agency |
||
8 | { |
||
9 | /** |
||
10 | * Hydrate an agency from a stdClass, intended to be used for |
||
11 | * instancing a category from \json_decode() |
||
12 | * |
||
13 | * @param stdClass $stdClass |
||
14 | * |
||
15 | * @return Agency |
||
16 | */ |
||
17 | public static function fromStdClass(stdClass $stdClass): Agency |
||
29 |