FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ComponentType.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2022 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 namespace Fossology\Lib\Data\Package;
9 
11 {
16  const PURL = 0;
21  const MAVEN = 1;
26  const NUGET = 2;
31  const NPM = 3;
36  const PYPI = 4;
41  const PACKAGEURL = 5;
46  const TYPE_MAP = [
47  self::PURL => 'purl',
48  self::MAVEN => 'maven',
49  self::NUGET => 'nuget',
50  self::NPM => 'npm',
51  self::PYPI => 'pypi',
52  self::PACKAGEURL => 'package-url',
53  '' => ''
54  ];
55 }