forked from a1gard/xshop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
966 B
PHTML
31 lines
966 B
PHTML
2 years ago
|
<?php
|
||
|
|
||
|
return [
|
||
|
/*
|
||
|
* Model class to use for Meta.
|
||
|
*/
|
||
|
'model' => Plank\Metable\Meta::class,
|
||
|
|
||
|
/*
|
||
|
* List of handlers for recognized data types.
|
||
|
*
|
||
|
* Handlers will be evaluated in order, so a value will be handled
|
||
|
* by the first appropriate handler in the list.
|
||
|
*/
|
||
|
'datatypes' => [
|
||
|
Plank\Metable\DataType\BooleanHandler::class,
|
||
|
Plank\Metable\DataType\NullHandler::class,
|
||
|
Plank\Metable\DataType\IntegerHandler::class,
|
||
|
Plank\Metable\DataType\FloatHandler::class,
|
||
|
Plank\Metable\DataType\StringHandler::class,
|
||
|
Plank\Metable\DataType\DateTimeHandler::class,
|
||
|
Plank\Metable\DataType\ArrayHandler::class,
|
||
|
Plank\Metable\DataType\ModelHandler::class,
|
||
|
Plank\Metable\DataType\ModelCollectionHandler::class,
|
||
|
Plank\Metable\DataType\SerializableHandler::class,
|
||
|
Plank\Metable\DataType\ObjectHandler::class,
|
||
|
],
|
||
|
|
||
|
'applyMigrations' => true
|
||
|
];
|