Interface Yiisoft\Hydrator\Attribute\Parameter\ParameterAttributeResolverInterface
An interface for resolvers of attributes that implement {@see ParameterAttributeInterface}.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getParameterValue() | Returns the resolved from specified attribute value object. | Yiisoft\Hydrator\Attribute\Parameter\ParameterAttributeResolverInterface |
Method Details
Returns the resolved from specified attribute value object.
| public abstract Yiisoft\Hydrator\Result getParameterValue ( Yiisoft\Hydrator\Attribute\Parameter\ParameterAttributeInterface $attribute, Yiisoft\Hydrator\AttributeHandling\ParameterAttributeResolveContext $context ) | ||
| $attribute | Yiisoft\Hydrator\Attribute\Parameter\ParameterAttributeInterface |
The attribute to be resolved. |
| $context | Yiisoft\Hydrator\AttributeHandling\ParameterAttributeResolveContext |
The context of value resolving from attribute. |
| return | Yiisoft\Hydrator\Result |
The resolved from specified attribute value object. |
|---|---|---|
public function getParameterValue(
ParameterAttributeInterface $attribute,
ParameterAttributeResolveContext $context
): Result;
Signup or Login in order to comment.