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
10
class
ComponentType
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
}
Fossology\Lib\Data\Package\ComponentType
Definition:
ComponentType.php:11
Fossology\Lib\Data\Package\ComponentType\NUGET
const NUGET
Definition:
ComponentType.php:26
Fossology\Lib\Data\Package\ComponentType\PURL
const PURL
Definition:
ComponentType.php:16
Fossology\Lib\Data\Package\ComponentType\TYPE_MAP
const TYPE_MAP
Definition:
ComponentType.php:46
Fossology\Lib\Data\Package\ComponentType\NPM
const NPM
Definition:
ComponentType.php:31
Fossology\Lib\Data\Package\ComponentType\MAVEN
const MAVEN
Definition:
ComponentType.php:21
Fossology\Lib\Data\Package\ComponentType\PACKAGEURL
const PACKAGEURL
Definition:
ComponentType.php:41
Fossology\Lib\Data\Package\ComponentType\PYPI
const PYPI
Definition:
ComponentType.php:36
src
lib
php
Data
Package
ComponentType.php
Generated on Mon Nov 18 2024 07:37:13 for FOSSology by
1.9.1