| Total Complexity | 1 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | #[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_PARAMETER)] |
||
| 11 | #[Qualifier] |
||
| 12 | final class ResourceParam implements RequestParamInterface |
||
| 13 | { |
||
| 14 | /** @var string */ |
||
| 15 | public $param; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | public $uri; |
||
| 19 | |||
| 20 | /** @var bool */ |
||
| 21 | public $templated; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array{uri?: string, param?: string, templated?: bool} $values |
||
| 25 | * |
||
| 26 | * @SuppressWarnings(PHPMD.BooleanArgumentFlag) $templated is configuration flag for URI template expansion |
||
| 27 | */ |
||
| 28 | public function __construct(array $values = [], string $uri = '', string $param = '', bool $templated = false) |
||
| 35 |