CycloneDX Library

LicenseFactory extends LicenseFactory
in package

Deprecated — Alias of {@see \CycloneDX\Contrib\License\Factories\LicenseFactory}.

Table of Contents

Methods

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

Methods

getSpdxLicenses()

public getSpdxLicenses() : SpdxLicenses
Return values
SpdxLicenses

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