class UniqueAlias extends Constraint

Unique alias constraint for models

Properties

string $message
string $type The type of the model
AliasModel|null $model The model being edited

Methods

__construct(string $type, AliasModel|null $model)

UniqueAlias

Details

at line line 42
__construct(string $type, AliasModel|null $model)

UniqueAlias

Parameters

string $type The type of the model
AliasModel|null $model The model itself