interface Attribute

Methods

newCollection(array $models = array())

Create new AttributeBag.

mixed
getValue()

Get the meta attribute value.

string
getKey()

Get the meta attribute key.

setValue(mixed $value)

Set value of the meta attribute.

string
castToString()

Handle casting value to string.

Details

at line 11
AttributeBag newCollection(array $models = array())

Create new AttributeBag.

Parameters

array $models

Return Value

AttributeBag

at line 18
mixed getValue()

Get the meta attribute value.

Return Value

mixed

at line 25
string getKey()

Get the meta attribute key.

Return Value

string

at line 34
setValue(mixed $value)

Set value of the meta attribute.

Parameters

mixed $value

Exceptions

InvalidTypeException

at line 41
string castToString()

Handle casting value to string.

Return Value

string