SpdxLicense
in package
Uses
_DisjunctiveLicenseBase
Disjunctive license with (SPDX-)ID - aka SpdxLicense.
No validation is done internally. You may validate with LicenseIdentifiers::isKnownLicense(). You may assert valid objects with LicenseFactory::makeSpdxLicense().
Tags
Table of Contents
Properties
- $id : string
- A valid supported SPDX license ID.
Methods
- __construct() : mixed
- getId() : string
- setId() : $this
Properties
$id
A valid supported SPDX license ID.
private
string
$id
Tags
Methods
__construct()
public
__construct(string $id) : mixed
Parameters
- $id : string
Tags
getId()
public
getId() : string
Tags
Return values
stringsetId()
public
setId(string $id) : $this
Parameters
- $id : string