返回路径中的目录名 父目录的路径

StringHelper::dirname("/home/path/hello.txt");// /home/path