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 mixed __construct ( mixed $argument ) | ||
| $argument | mixed | |
public function __construct($argument)
{
parent::__construct('Generator', GeneratorInterface::class, $argument);
}
| public string getName ( ) |
#[\Override]
public function getName(): string
{
return 'Bad declaration of schema generator';
}
| public string|null getSolution ( ) |
#[\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.