trait Base

internal  
 

Methods

default($value)

No description

required(bool $state = true)

No description

before(callable $handler)

No description

castTo(string $type)

No description

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

No description

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

Marks as deprecated

completeDefault(Context $context)

No description

doNormalize($value, Context $context)

No description

Details

at line 36
Base default($value)

No description

Parameters

$value

Return Value

Base

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

No description

Parameters

bool $state

Return Value

Base

at line 50
Base before(callable $handler)

No description

Parameters

callable $handler

Return Value

Base

at line 57
Base castTo(string $type)

No description

Parameters

string $type

Return Value

Base

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

No description

Parameters

callable $handler
string|null $description

Return Value

Base

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

Marks as deprecated

Parameters

string $message

Return Value

Base

at line 79
completeDefault(Context $context)

No description

Parameters

Context $context

at line 93
doNormalize($value, Context $context)

No description

Parameters

$value
Context $context