Final Class Yiisoft\Yii\Gii\Exception\InvalidGeneratorCommandException
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| getResult() | Yiisoft\ |
Method Details
| public mixed __construct ( \ | ||
| $result | \ |
|
public function __construct(private readonly Result $result)
{
parent::__construct(
sprintf(
'Generator data validation failed: %s.',
implode(', ', $this->result->getErrorMessages()),
),
);
}
| public \ |
public function getResult(): Result
{
return $this->result;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.