0 follower

Final Class Yiisoft\Yii\Cycle\Exception\BadGeneratorDeclarationException

InheritanceYiisoft\Yii\Cycle\Exception\BadGeneratorDeclarationException » Yiisoft\Yii\Cycle\Exception\BadDeclarationException » Exception
ImplementsYiisoft\FriendlyException\FriendlyExceptionInterface

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( mixed $argument )
$argument mixed

                public function __construct($argument)
{
    parent::__construct('Generator', GeneratorInterface::class, $argument);
}

            
getName() public method

public string getName ( )

                #[\Override]
public function getName(): string
{
    return 'Bad declaration of schema generator';
}

            
getSolution() public method

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