FOSSology
4.4.0
Open Source License Compliance by Open Source Software
Package.php
1
<?php
2
/*
3
SPDX-FileCopyrightText: © 2014 Siemens AG
4
5
SPDX-License-Identifier: GPL-2.0-only
6
*/
7
8
namespace
Fossology\Lib\Data\Package;
9
10
use
Fossology\Lib\Data\Upload\Upload
;
11
12
class
Package
13
{
14
16
private
$id;
17
19
private
$name;
20
22
private
$uploads;
23
29
public
function
__construct
($id, $name, $uploads)
30
{
31
$this->
id
= $id;
32
$this->uploads = $uploads;
33
$this->name = $name;
34
}
35
39
public
function
getId
()
40
{
41
return
$this->id;
42
}
43
47
public
function
getName
()
48
{
49
return
$this->name;
50
}
51
55
public
function
getUploads
()
56
{
57
return
$this->uploads;
58
}
59
}
Fossology\Lib\Data\Package\Package
Definition:
Package.php:13
Fossology\Lib\Data\Package\Package\getName
getName()
Definition:
Package.php:47
Fossology\Lib\Data\Package\Package\__construct
__construct($id, $name, $uploads)
Definition:
Package.php:29
Fossology\Lib\Data\Package\Package\getId
getId()
Definition:
Package.php:39
Fossology\Lib\Data\Package\Package\getUploads
getUploads()
Definition:
Package.php:55
Fossology\Lib\Data\Upload\Upload
Definition:
Upload.php:11
src
lib
php
Data
Package
Package.php
Generated on Mon Nov 18 2024 07:37:13 for FOSSology by
1.9.1