mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
papel generico terminado. papel impresion a falta de maquinas y tipologias
This commit is contained in:
@ -140,6 +140,21 @@ if (!function_exists('convertToSnakeCase')) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('convertToCamelCase')) {
|
||||
function convertToCamelCase($string, $capitalizeFirstCharacter = false)
|
||||
{
|
||||
$str = str_replace('-', '', ucwords($string, '-'));
|
||||
|
||||
if (!$capitalizeFirstCharacter) {
|
||||
$str = lcfirst($str);
|
||||
}
|
||||
|
||||
$str = str_replace(' ', '', $str);
|
||||
|
||||
return $str;
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('newUUID')) {
|
||||
|
||||
function newUUID() {
|
||||
|
||||
Reference in New Issue
Block a user