13 lines
229 B
PHP
Executable file
13 lines
229 B
PHP
Executable file
<?php
|
|
|
|
namespace OpenCloud\Integration;
|
|
|
|
use GuzzleHttp\Client;
|
|
|
|
class Utils
|
|
{
|
|
public static function toCamelCase($word, $separator = '_')
|
|
{
|
|
return str_replace($separator, '', ucwords($word, $separator));
|
|
}
|
|
}
|