class ScalarDBField implements ModelTypePlugin (View source)

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

Constants

IDENTIFIER

Methods

public
string
getIdentifier()

No description

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

No description

public static 
mixed
resolve($obj)

No description

Details

string getIdentifier()

No description

Return Value

string

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

No description

Parameters

ModelType $type
Schema $schema
array $config

Return Value

void

static mixed resolve($obj)

No description

Parameters

$obj

Return Value

mixed