Example #1
0
 /**
  * get a list of all mount points in a directory
  *
  * @param string $path
  * @return string[]
  */
 public static function getMountPoints($path)
 {
     $result = array();
     $mounts = Mount::findIn($path);
     foreach ($mounts as $mount) {
         $result[] = $mount->getMountPoint();
     }
     return $result;
 }