CycloneDX Library

NamedLicense
in package
Uses _DisjunctiveLicenseBase

Disjunctive license with name - aka NamedLicense.

Tags
author

jkowalleck

Table of Contents

Properties

$name  : string
If SPDX does not define the license used, this field may be used to provide the license name.

Methods

__construct()  : mixed
getName()  : string
setName()  : static

Properties

$name

If SPDX does not define the license used, this field may be used to provide the license name.

private string $name

Implementation detail: allow empty strings.

Methods

__construct()

public __construct(string $name) : mixed
Parameters
$name : string

getName()

public getName() : string
Return values
string

setName()

public setName(string $name) : static
Parameters
$name : string
Return values
static

        
On this page

Search results