Final Class Yiisoft\Yii\Cycle\Exception\BadGeneratorDeclarationException
| Inheritance | Yiisoft\Yii\Cycle\Exception\BadGeneratorDeclarationException » Yiisoft\Yii\Cycle\Exception\BadDeclarationException » Exception |
|---|---|
| Implements | Yiisoft\FriendlyException\FriendlyExceptionInterface |
Public Methods
Method Details
| public __construct( mixed $argument ): mixed | ||
| $argument | mixed | |
public function __construct($argument)
{
parent::__construct('Generator', GeneratorInterface::class, $argument);
}
| public getName( ): string |
#[\Override]
public function getName(): string
{
return 'Bad declaration of schema generator';
}
| public getSolution( ): string|null |
#[\Override]
public function getSolution(): ?string
{
return <<<SOLUTION
you add a generator for the Schema Conveyor you should specify a value that can be:
me of the class implementing GeneratorInterface.
object implementing GeneratorInterface.
function that returns an object implementing GeneratorInterface.
TION;
}
Signup or Login in order to comment.