trait Base

internal  
 

Methods

default(mixed $value)

No description

required(bool $state = true)

No description

before(callable $handler)

No description

castTo(string $type)

No description

transform(callable $handler)

No description

assert(callable $handler, string|null $description = null)

No description

deprecated(string $message = 'The item %path% is deprecated.')

Marks as deprecated

mixed
completeDefault(Context $context)

No description

mixed
doNormalize(mixed $value, Context $context)

No description

Details

at line 33
Base default(mixed $value)

No description

Parameters

mixed $value

Return Value

Base

at line 40
Base required(bool $state = true)

No description

Parameters

bool $state

Return Value

Base

at line 47
Base before(callable $handler)

No description

Parameters

callable $handler

Return Value

Base

at line 54
Base castTo(string $type)

No description

Parameters

string $type

Return Value

Base

at line 60
Base transform(callable $handler)

No description

Parameters

callable $handler

Return Value

Base

at line 67
Base assert(callable $handler, string|null $description = null)

No description

Parameters

callable $handler
string|null $description

Return Value

Base

at line 84
Base deprecated(string $message = 'The item %path% is deprecated.')

Marks as deprecated

Parameters

string $message

Return Value

Base

at line 91
mixed completeDefault(Context $context)

No description

Parameters

Context $context

Return Value

mixed

at line 105
mixed doNormalize(mixed $value, Context $context)

No description

Parameters

mixed $value
Context $context

Return Value

mixed