column format
This commit is contained in:
19
src/FormatMapper.php
Normal file
19
src/FormatMapper.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Itguild\Tables;
|
||||
|
||||
use Itguild\Tables\formats\DateFormat;
|
||||
use Itguild\Tables\formats\TextFormat;
|
||||
|
||||
class FormatMapper
|
||||
{
|
||||
|
||||
public static function getFormat(): array
|
||||
{
|
||||
return [
|
||||
'text' => TextFormat::class,
|
||||
'date' => DateFormat::class,
|
||||
];
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user