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 $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)

No description

Parameters

$value

Return Value

Base

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

No description

Parameters

bool $state

Return Value

Base

at line 54
Base before(callable $handler)

No description

Parameters

callable $handler

Return Value

Base

at line 61
Base castTo(string $type)

No description

Parameters

string $type

Return Value

Base

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

No description

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)

No description

Parameters

Context $context

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

No description

Parameters

$value
Context $context