protected static function getMountNameFromPath($path)
	{
		preg_match('/([[:alpha:]]*):\/\//', $path, $name);

		if (!isset($name[1]) || !$name[1])
		{
			throw new \Exception('Could not determine source mount type', 500);
		}

		return $name[1];
	}
protected static function getMountNameFromPath($path)
	{
		preg_match('/([[:alpha:]]*):\/\//', $path, $name);

		if (!isset($name[1]) || !$name[1])
		{
			throw new \Exception('Could not determine source mount type', 500);
		}

		return $name[1];
	}
protected static function getMountNameFromPath ( $ path ) { preg_match ( '/([[:alpha:]]*):\/\//' , $ path , $ name ) ; if ( ! isset ( $ name [ 1 ] ) || ! $ name [ 1 ] ) { throw new \ Exception ( 'Could not determine source mount type' , 500 ) ; } return $ name [ 1 ] ; }
Grabs the mount name from a given path

@param   string  $path  The path to parse for mount names
@return  void
Grabs the mount name from a given path