0 follower

Class Yiisoft\Rbac\Cycle\Exception\SeparatorCollisionException

InheritanceYiisoft\Rbac\Cycle\Exception\SeparatorCollisionException » RuntimeException
ImplementsYiisoft\FriendlyException\FriendlyExceptionInterface

Method Details

Hide inherited methods

__construct() public method

public __construct( integer $code 0, Throwable|null $previous null ): mixed
$code integer
$previous Throwable|null

                public function __construct(int $code = 0, ?Throwable $previous = null)
{
    parent::__construct('Separator collision has been detected.', $code, $previous);
}

            
getName() public method

public getName( ): string

                public function getName(): string
{
    return 'Separator collision';
}

            
getSolution() public method

public getSolution( ): string|null

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