Hello,
I'm having trouble tracking down all the property configuration settings. As best I can tell here are the keys/values you can set.
class TestModel extends \Modler\Model
{
protected $properties = array(
'test' => array(
'description' => 'Test Property 1'
'type' => 'varchar', // what other values are allowed for type?
'required' => true|false, // what other validation is built in?
'guarded' => true|false,
... // what other keys are built-in?
)
);
}
I was hoping the REAME could be updated too describe all the possible keys, values and meanings.
I also found a discrepancy in the README that says guard is used for guarding properties, but the code is actually using guarded. https://github.com/enygma/modler/blob/master/src/Modler/Model.php#L62
Hello,
I'm having trouble tracking down all the property configuration settings. As best I can tell here are the keys/values you can set.
I was hoping the REAME could be updated too describe all the possible keys, values and meanings.
I also found a discrepancy in the README that says
guardis used for guarding properties, but the code is actually usingguarded. https://github.com/enygma/modler/blob/master/src/Modler/Model.php#L62