CycloneDX Library

LicenseFactory
in package

License Factory.

Tags
author

jkowalleck

template

Table of Contents

Properties

$licenseIdentifiers  : LicenseIdentifiers
$spdxLicenses  : SpdxLicensesValidator

Methods

__construct()  : mixed
getLicenseIdentifiers()  : LicenseIdentifiers
getSpdxLicenses()  : SpdxLicensesValidator
makeDisjunctive()  : SpdxLicense|NamedLicense
makeExpression()  : LicenseExpression
makeFromString()  : SpdxLicense|LicenseExpression|NamedLicense
makeNamedLicense()  : NamedLicense
makeSpdxLicense()  : SpdxLicense

Properties

Methods

makeSpdxLicense()

public makeSpdxLicense(string $license) : SpdxLicense
Parameters
$license : string
Tags
throws
DomainException

when the SPDX license ID is unknown

Return values
SpdxLicense

        
On this page

Search results