online payments for card order

This commit is contained in:
nurmuhammet committed 2025-10-31 02:16:15 +05:00
1 parent 5d3ea6d787
commit 1873486d13
8 files changed
+104 -34

No files matched your search

+12
View File
@@ -54,6 +54,18 @@ function module_exists(string $moduleName): bool
return modular()->moduleExists($moduleName);
}
/**
* Cast to string
*/
function string(mixed $value): string
{
if (! is_string($value)) {
throw new Exception('!!!Make it string!!!');
}
return $value;
}
/**
* Create an anonymous dynamic object with both properties and callable methods.
*