class ScalarDBField implements ModelTypePlugin (View source)

Ensures any field that ends up as ViewableData, e.g. DBField, invokes forTemplate() after resolving.

Constants

IDENTIFIER

Methods

string
getIdentifier()

No description

void
apply(ModelType $type, Schema $schema, array $config = [])

No description

static mixed
resolve($obj)

No description

Details

string getIdentifier()

Return Value

string

void apply(ModelType $type, Schema $schema, array $config = [])

Parameters

ModelType $type
Schema $schema
array $config

Return Value

void

static mixed resolve($obj)

Parameters

$obj

Return Value

mixed