Final Class Yiisoft\Queue\Middleware\InvalidCallableConfigurationException
| Inheritance | Yiisoft\Queue\Middleware\InvalidCallableConfigurationException » InvalidArgumentException |
|---|---|
| Implements | Yiisoft\FriendlyException\FriendlyExceptionInterface |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getName() | Yiisoft\Queue\Middleware\InvalidCallableConfigurationException | |
| getSolution() | Yiisoft\Queue\Middleware\InvalidCallableConfigurationException |
Method Details
| public string getName ( ) |
public function getName(): string
{
return 'Invalid callable configuration.';
}
| public string|null getSolution ( ) |
public function getSolution(): ?string
{
return <<<SOLUTION
The callable has incorrect configuration. To meet the requirements a callable should be one of:
- A closure.
- [object, method] array.
- [class name, method] array.
- [DI container service ID, method] array.
- DI container service ID string which references a class with the `__invoke()` method
If you are using a classname or an alias string to be passed to a DI container please check if it is properly configured in the DI container.
SOLUTION;
}
Signup or Login in order to comment.