Definition at line 16 of file reportgenerator.php.
◆ createComponent()
Fossology\CycloneDX\BomReportGenerator::createComponent |
( |
array |
$componentData | ) |
|
Creates a component.
- Parameters
-
array | $componentData | The component data. |
- Returns
- array The generated component.
Definition at line 24 of file reportgenerator.php.
◆ createHash()
Fossology\CycloneDX\BomReportGenerator::createHash |
( |
|
$algorithm, |
|
|
|
$content |
|
) |
| |
Creates a hash.
- Parameters
-
string | $algorithm | The algorithm used for hashing. |
string | $content | The content to be hashed. |
- Returns
- array The generated hash.
Definition at line 36 of file reportgenerator.php.
◆ createLicense()
Fossology\CycloneDX\BomReportGenerator::createLicense |
( |
array |
$licenseData | ) |
|
Creates a license.
- Parameters
-
array | $licenseData | The license data. |
- Returns
- array The generated license.
Definition at line 47 of file reportgenerator.php.
◆ generateComponent()
Fossology\CycloneDX\BomReportGenerator::generateComponent |
( |
array |
$componentData | ) |
|
|
private |
Generates a component.
- Parameters
-
array | $componentData | The component data. |
- Returns
- array The generated component.
"Specifies the scope of the component. If scope is not specified,
'required' scope SHOULD be assumed by the consumer of the BOM."
Definition at line 87 of file reportgenerator.php.
◆ generateHash()
Fossology\CycloneDX\BomReportGenerator::generateHash |
( |
string |
$algorithm, |
|
|
string |
$content |
|
) |
| |
|
private |
Generates a hash.
- Parameters
-
string | $algorithm | The algorithm used for hashing. |
string | $content | The content to be hashed. |
- Returns
- array The generated hash.
Definition at line 176 of file reportgenerator.php.
◆ generateLicense()
Fossology\CycloneDX\BomReportGenerator::generateLicense |
( |
array |
$licenseData | ) |
|
|
private |
Generates a license.
- Parameters
-
array | $licenseData | The license data. |
- Returns
- array The generated license.
Definition at line 137 of file reportgenerator.php.
◆ generateReport()
Fossology\CycloneDX\BomReportGenerator::generateReport |
( |
|
$bomdata | ) |
|
Generates the report.
- Parameters
-
array | $bomdata | The BOM data. |
- Returns
- array The generated report.
Definition at line 58 of file reportgenerator.php.
The documentation for this class was generated from the following file: