Final Class Yiisoft\Rbac\Exception\DefaultRolesNotFoundException
| Inheritance | Yiisoft\Rbac\Exception\DefaultRolesNotFoundException » RuntimeException |
|---|---|
| Implements | Yiisoft\FriendlyException\FriendlyExceptionInterface |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| getName() | Yiisoft\Rbac\Exception\DefaultRolesNotFoundException | |
| getSolution() | Yiisoft\Rbac\Exception\DefaultRolesNotFoundException |
Method Details
| public string|null getSolution ( ) |
public function getSolution(): ?string
{
return <<<SOLUTION
have to add roles with Manager::addRole() before using them as default.
TION;
}
Signup or Login in order to comment.