Nette\Routing\Route::path2action PHP 메소드

path2action() 개인적인 정적인 메소드

dash-separated -> camelCaseAction name.
private static path2action ( $s ) : string
리턴 string
    private static function path2action($s)
    {
        $s = preg_replace('#-(?=[a-z])#', ' ', $s);
        $s = lcfirst(ucwords($s));
        $s = str_replace(' ', '', $s);
        return $s;
    }