Class Yiisoft\Rbac\Cycle\Exception\SeparatorCollisionException
| Inheritance | Yiisoft\Rbac\Cycle\Exception\SeparatorCollisionException » RuntimeException |
|---|---|
| Implements | Yiisoft\FriendlyException\FriendlyExceptionInterface |
Public Methods
Method Details
| public mixed __construct ( integer $code = 0, Throwable|null $previous = null ) | ||
| $code | integer | |
| $previous | Throwable|null | |
public function __construct(int $code = 0, ?Throwable $previous = null)
{
parent::__construct('Separator collision has been detected.', $code, $previous);
}
| public string|null getSolution ( ) |
public function getSolution(): ?string
{
return <<<SOLUTION
rator is used to join and split children names during building hierarchy. It can not be part of item name. Either
omize separator via ItemsStorage::\$namesSeparator or modify existing item names to not contain it.
TION;
}
Signup or Login in order to comment.