0 follower

Final Class Yiisoft\Queue\Middleware\InvalidCallableConfigurationException

InheritanceYiisoft\Queue\Middleware\InvalidCallableConfigurationException » InvalidArgumentException
ImplementsYiisoft\FriendlyException\FriendlyExceptionInterface

Method Details

Hide inherited methods

getName() public method

public string getName ( )

                public function getName(): string
{
    return 'Invalid callable configuration.';
}

            
getSolution() public method

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;
}