Example #1
0
 public static function basename($path, $level = 1)
 {
     $dirpath = \Staq\Util::dirname($path, $level);
     return substr($path, strlen($dirpath) + 1);
 }