DecimalResolver
class DecimalResolver extends Resolver (View source)
DECIMAL(size, d)
An exact fixed-point number. The total number of digits is specified in size. The number of digits after the decimal point is specified in the d parameter. The maximum number for size is 65. The maximum number for d is 30. The default value for size is 10. The default value for d is 0.
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.
Get the attribute casting
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.