add formats
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
namespace Itguild\Tables;
|
||||
|
||||
use Itguild\Tables\formats\DateFormat;
|
||||
use Itguild\Tables\formats\HtmlFormat;
|
||||
use Itguild\Tables\formats\PhoneNumberFormat;
|
||||
use Itguild\Tables\formats\TextFormat;
|
||||
|
||||
class FormatMapper
|
||||
@ -13,6 +15,8 @@ class FormatMapper
|
||||
return [
|
||||
'text' => TextFormat::class,
|
||||
'date' => DateFormat::class,
|
||||
'html' => HtmlFormat::class,
|
||||
'phoneNumber' => PhoneNumberFormat::class,
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user