CharResolver
class CharResolver extends Resolver (View source)
CHAR(size)
A FIXED length string (can contain letters, numbers, and special characters). The size parameter specifies the column length in characters - can be from 0 to 255. Default is 1
Methods
Get the row string form database factory, then return the string for Seeder class.
Get the row string for migration file, then return the string for migration class.
Get the row string for Nova resource file, then return the string for Nova resource class.
Details
__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|null
nova()
Get the row string for Nova resource file, then return the string for Nova resource class.
string
last(string $migration)
Finally process for resolvers
string|null
cast()
Get the attribute casting
mixed
__get(string $property)
Reading data from inaccessible (protected or private) or non-existing properties.