Метод |
Описание |
|
appendSoftDelete ( array &$input ) : void |
Checks for deleted_at key in input array
and appends deleted_at data if it exists |
|
appendTimestamps ( array &$input ) : void |
Checks for timestamps key to determine if created_at
and updated_at fields should be added to fields array |
|
castToBoolean ( &$value ) : void |
Ensures checkbox values are set as "true" or "false" |
|
cleanseModelName ( &$input ) : array |
Removes special characters from input['model_name'] |
|
interpretFieldsArray ( &$input ) : array |
Fields input array "choices" and builds/formats
array as a properly formatted choices array |
|