FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Dao\PackageDao Class Reference
Collaboration diagram for Fossology\Lib\Dao\PackageDao:
Collaboration graph

Public Member Functions

 __construct (DbManager $dbManager, Logger $logger)
 
 findPackageForUpload ($uploadId)
 
 createPackage ($packageName)
 
 addUploadToPackage ($uploadId, Package $package)
 

Private Attributes

 $dbManager
 

Detailed Description

Definition at line 16 of file PackageDao.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\Lib\Dao\PackageDao::__construct ( DbManager  $dbManager,
Logger  $logger 
)
Parameters
DbManager$dbManager
Logger$logger

Definition at line 26 of file PackageDao.php.

Member Function Documentation

◆ addUploadToPackage()

Fossology\Lib\Dao\PackageDao::addUploadToPackage (   $uploadId,
Package  $package 
)
Parameters
int$uploadId
Package$package

Definition at line 78 of file PackageDao.php.

◆ createPackage()

Fossology\Lib\Dao\PackageDao::createPackage (   $packageName)
Returns
Package

Definition at line 64 of file PackageDao.php.

◆ findPackageForUpload()

Fossology\Lib\Dao\PackageDao::findPackageForUpload (   $uploadId)
Parameters
int$uploadId
Returns
Package|null

Definition at line 36 of file PackageDao.php.


The documentation for this class was generated from the following file: