We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e516ac3 commit ef04957Copy full SHA for ef04957
1 file changed
system/Exceptions/ModelException.php
@@ -10,4 +10,9 @@ public static function forNoPrimaryKey(string $modelName)
10
{
11
return new static(lang('Database.noPrimaryKey', [$modelName]));
12
}
13
+
14
+ public static function forNoDateFormat(string $modelName)
15
+ {
16
+ return new static(lang('Database.noDateFormat', [$modelName]));
17
+ }
18
0 commit comments