Interface Yiisoft\Queue\Message\ClassResolver\MessageClassResolverInterface
| Implemented by | Yiisoft\ |
|---|
Resolves a message class by message type.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| resolve() | Returns the message class for the given type, or null if the type is not registered. |
Yiisoft\ |
Method Details
Returns the message class for the given type, or null if the type is not registered.
| public abstract string|null resolve ( string $type ) | ||
| $type | string |
Message type. Must be a non-empty string. |
| return | string|null |
Message class, or |
|---|---|---|
public function resolve(string $type): ?string;
User Contributed Notes
Leave a comment
Join the conversation to share a note.