| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | final readonly class Invoker implements InvokerInterface |
||
|
|
|||
| 7 | { |
||
| 8 | public function __construct( |
||
| 9 | private PhpClassInvoker $classInvoker |
||
| 10 | ) { |
||
| 11 | } |
||
| 12 | |||
| 13 | /** |
||
| 14 | * {@inheritdoc} |
||
| 15 | * |
||
| 16 | * @psalm-suppress PossiblyUnusedReturnValue |
||
| 17 | */ |
||
| 18 | #[\Override] |
||
| 19 | public function invoke(AbstractRequest $request): ResourceObject |
||
| 20 | { |
||
| 21 | return $request->resourceObject->_invokeRequest($this->classInvoker, $request); |
||
| 22 | } |
||
| 24 |