class JsonResolver extends Resolver

JSON

Methods

__construct(Column $column)

Constructor.

from  Resolver
string
fake()

Get the row string form database factory, then return the string for Seeder class.

string
migration()

Get the row string for migration file, then return the string for migration class.

string
last(string $migration)

Finally process for resolvers

from  Resolver
mixed
__get(string $property)

Reading data from inaccessible (protected or private) or non-existing properties.

from  Resolver

Details

in Resolver at line 19
__construct(Column $column)

Constructor.

Parameters

Column $column

The column.

at line 10
string fake()

Get the row string form database factory, then return the string for Seeder class.

Return Value

string

The method returns a Seeder class row string

at line 15
string migration()

Get the row string for migration file, then return the string for migration class.

Return Value

string

The method returns a Migration file row string

in Resolver at line 49
string last(string $migration)

Finally process for resolvers

Parameters

string $migration

The migration payload before post processing

Return Value

string

The method returns the migration payload after post processing

in Resolver at line 68
mixed __get(string $property)

Reading data from inaccessible (protected or private) or non-existing properties.

Parameters

string $property

The property name.

Return Value

mixed

The value of the column property.