19 lines
650 B
PHP
19 lines
650 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace KupShop\GraphQLBundle\Middleware;
|
|
|
|
use TheCodingMachine\GraphQLite\InputField;
|
|
use TheCodingMachine\GraphQLite\InputFieldDescriptor;
|
|
use TheCodingMachine\GraphQLite\Middlewares\InputFieldHandlerInterface;
|
|
use TheCodingMachine\GraphQLite\Middlewares\InputFieldMiddlewareInterface;
|
|
|
|
class ModuleInputFieldMiddleware extends ModuleMiddleware implements InputFieldMiddlewareInterface
|
|
{
|
|
public function process(InputFieldDescriptor $inputFieldDescriptor, InputFieldHandlerInterface $inputFieldHandler): ?InputField
|
|
{
|
|
return $this->handleModule($inputFieldDescriptor, $inputFieldHandler);
|
|
}
|
|
}
|