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 
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 }
__construct($id, $name, $uploads)
Definition: Package.php:29