private function camelize($string) { return preg_replace_callback('/\\W+([a-z])/', function ($matches) { return strtoupper($matches[1]); }, $string); }