trait NullableRule (View source)

Methods

bool
compileNullable(string $key, string $masque)

Compile Nullable Rule

Details

protected bool compileNullable(string $key, string $masque)

Compile Nullable Rule

[nullable] Check that the content of the field is nullable

Parameters

string $key
string $masque

Return Value

bool