|  | FOSSology
    4.5.1
    Open Source License Compliance by Open Source Software | 
Helper class to export license list as a YAML from the DB. More...

| Public Member Functions | |
| __construct (DbManager $dbManager, CompatibilityDao $compatibilityDao) | |
| createYaml ($lr=0) | |
| Create the YAML from the DB.  More... | |
| Private Attributes | |
| $dbManager | |
| $compatibilityDao | |
Helper class to export license list as a YAML from the DB.
Definition at line 22 of file LicenseCompatibilityRulesYamlExport.php.
| Fossology\Lib\Application\LicenseCompatibilityRulesYamlExport::__construct | ( | DbManager | $dbManager, | 
| CompatibilityDao | $compatibilityDao | ||
| ) | 
Constructor
| DbManager | $dbManager | DB manager to use. | 
| CompatibilityDao | $compatibilityDao | Compatibility DAO to use | 
Definition at line 35 of file LicenseCompatibilityRulesYamlExport.php.
| Fossology\Lib\Application\LicenseCompatibilityRulesYamlExport::createYaml | ( | $lr = 0 | ) | 
Create the YAML from the DB.
| int | $lr | Set the license ID to get only one license, set 0 to get all | 
Definition at line 46 of file LicenseCompatibilityRulesYamlExport.php.
| 
 | private | 
Compatibility Dao object
Definition at line 29 of file LicenseCompatibilityRulesYamlExport.php.
| 
 | private | 
DB manager in use
Definition at line 26 of file LicenseCompatibilityRulesYamlExport.php.