0 follower

Final Class Yiisoft\Queue\Exception\AdapterConfiguration\AdapterNotConfiguredException

InheritanceYiisoft\Queue\Exception\AdapterConfiguration\AdapterNotConfiguredException » RuntimeException
ImplementsYiisoft\FriendlyException\FriendlyExceptionInterface

Property Details

Hide inherited properties

$message protected property
protected $message 'Queue adapter is not configured'

Method Details

Hide inherited methods

getName() public method

public string getName ( )

                public function getName(): string
{
    return 'Adapter is not configured';
}

            
getSolution() public method

public string|null getSolution ( )

                public function getSolution(): ?string
{
    $queueClass = Queue::class;
    $queueProviderInterface = QueueProviderInterface::class;
    return <<<SOLUTION
        Adapter property must be set in the Queue object before you can use it.
        Please use either a constructor "\$adapter" parameter, or "withAdapter()" queue method
        to set an appropriate adapter.
        A more convenient way to get a configured Queue is a QueueFactory usage.
        References:
        - $queueClass::\$adapter
        - $queueClass::withAdapter()
        - $queueProviderInterface
        SOLUTION;
}