0 follower

Interface Yiisoft\RequestModel\Attribute\HandlerParameterResolverInterface

Implemented byYiisoft\RequestModel\Attribute\BodyResolver, Yiisoft\RequestModel\Attribute\QueryResolver, Yiisoft\RequestModel\Attribute\RequestResolver, Yiisoft\RequestModel\Attribute\RouteResolver, Yiisoft\RequestModel\Attribute\UploadedFilesResolver

Represents action handler parameter attribute.

Method Details

Hide inherited methods

resolve() public abstract method

public abstract mixed resolve ( Yiisoft\RequestModel\Attribute\HandlerParameterAttributeInterface $attribute, \Psr\Http\Message\ServerRequestInterface $request )
$attribute Yiisoft\RequestModel\Attribute\HandlerParameterAttributeInterface
$request \Psr\Http\Message\ServerRequestInterface
throws Yiisoft\RequestModel\Attribute\ValueNotFoundException

When value for {@see $attribute} not found.

                public function resolve(HandlerParameterAttributeInterface $attribute, ServerRequestInterface $request): mixed;