MorphsResolver
class MorphsResolver extends Resolver
MORPHS
The morphs method is a convenience method that adds a {column}_id equivalent column and a {column}_type VARCHAR equivalent column. The column type for the {column}_id will be UNSIGNED BIGINT, CHAR(36), or CHAR(26) depending on the model key type.
Methods
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.
Details
at line 15
string
fake()
Get the row string form database factory, then return the string for Seeder class.
at line 21
string
migration()
Get the row string for migration file, then return the string for migration class.
in
Resolver at line 49
string
last(string $migration)
Finally process for resolvers
in
Resolver at line 68
mixed
__get(string $property)
Reading data from inaccessible (protected or private) or non-existing properties.