trait Base

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 $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 40
Base default($value)

Parameters

$value

Return Value

Base

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

Parameters

bool $state

Return Value

Base

at line 54
Base before(callable $handler)

Parameters

callable $handler

Return Value

Base

at line 61
Base castTo(string $type)

Parameters

string $type

Return Value

Base

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

Parameters

callable $handler
string $description

Return Value

Base

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

Marks as deprecated

Parameters

string $message

Return Value

Base

at line 83
completeDefault(Context $context)

Parameters

Context $context

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

Parameters

$value
Context $context