CycloneDX Library

LicenseRepository
in package
implements Countable

Unique collection of: - {@see SpdxLicense} - {@see NamedLicense} - {@see LicenseExpression}

.

Tags
author

jkowalleck

Table of Contents

Interfaces

Countable

Properties

$items  : array<string|int, SpdxLicense>|array<string|int, NamedLicense>|array<string|int, LicenseExpression>

Methods

__construct()  : mixed
addItems()  : $this
Add licenses.
count()  : int
getItems()  : array<string|int, SpdxLicense>|array<string|int, NamedLicense>|array<string|int, LicenseExpression>

Properties

Methods

count()

public count() : int
Tags
psalm-return

0|positive-int

Return values
int

        
On this page

Search results