camelCaseToSeparator() public static method

Method to convert the string from camelCase to separator format
public static camelCaseToSeparator ( string $string, string $sep = DIRECTORY_SEPARATOR ) : string
$string string
$sep string
return string
Esempio n. 1
0
 public function testCamelCaseToSeparator()
 {
     $this->assertEquals('hello' . DIRECTORY_SEPARATOR . 'world', String::camelCaseToSeparator('helloWorld'));
 }