abstract class Resolver implements ResolverInterface

It is used by parent class of various resolver classes.

Methods

__construct(Column $column)

Constructor.

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

mixed
__get(string $property)

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

Details

at line 19
__construct(Column $column)

Constructor.

Parameters

Column $column

The column.

at line 32
abstract string fake()

internal  This method should be implemented by child classes.
 

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 41
abstract string migration()

internal  This method should be implemented by child classes.
 

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

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

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.