| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class RequestMapper extends RestRequestMapper |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var array<int, non-empty-string> |
||
|
|
|||
| 26 | */ |
||
| 27 | protected static array $properties = [ |
||
| 28 | 'name', |
||
| 29 | 'role', |
||
| 30 | ]; |
||
| 31 | |||
| 32 | 88 | public function __construct( |
|
| 35 | 88 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @throws Throwable |
||
| 39 | */ |
||
| 40 | 4 | protected function transformRole(string $role): Role |
|
| 45 |