Rule
class Rule
Traits
Properties
static protected array | $macros | The registered string macros. |
from Macroable |
Methods
static mixed
__callStatic(string $method, array $parameters)
Dynamically handle calls to the class.
from
Macroable
mixed
__call(string $method, array $parameters)
Dynamically handle calls to the class.
from
Macroable
static Dimensions
dimensions(array $constraints = [])
Get a dimensions constraint builder instance.
Details
in
Macroable at line 24
static void
macro(string $name, callable $macro)
Register a custom macro.
in
Macroable at line 35
static bool
hasMacro(string $name)
Checks if macro is registered.
in
Macroable at line 49
static mixed
__callStatic(string $method, array $parameters)
Dynamically handle calls to the class.
in
Macroable at line 71
mixed
__call(string $method, array $parameters)
Dynamically handle calls to the class.
at line 17
static Dimensions
dimensions(array $constraints = [])
Get a dimensions constraint builder instance.
at line 29
static Exists
exists(string $table, string $column = 'NULL')
Get a exists constraint builder instance.
at line 40
static In
in(array|string $values)
Get an in constraint builder instance.
at line 51
static NotIn
notIn(array|string $values)
Get a not_in constraint builder instance.
at line 63
static Unique
unique(string $table, string $column = 'NULL')
Get a unique constraint builder instance.