FOSSology  4.4.0
Open Source License Compliance by Open Source Software
OtherGetter.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2017 Siemens AG
4  Author: Anuapm Ghosh
5 
6  SPDX-License-Identifier: GPL-2.0-only
7 */
8 
9 namespace Fossology\Lib\Report;
10 
12 
14 {
16  private $uploadDao;
17 
18  public function __construct()
19  {
20  global $container;
21  $this->uploadDao = $container->get('dao.upload');
22  }
23 
24  public function getReportData($uploadId)
25  {
26  return $this->uploadDao->getReportInfo($uploadId);
27  }
28 }