LicenseNormalizer
extends _BaseNormalizer
in package
Tags
Table of Contents
Methods
- normalize() : array<string|int, mixed>
- normalizeDisjunctive() : array<string|int, mixed>
- normalizeExpression() : array<string|int, mixed>
Methods
normalize()
public
normalize(LicenseExpression|SpdxLicense|NamedLicense $license) : array<string|int, mixed>
Parameters
- $license : LicenseExpression|SpdxLicense|NamedLicense
Return values
array<string|int, mixed>normalizeDisjunctive()
private
normalizeDisjunctive(SpdxLicense|NamedLicense $license) : array<string|int, mixed>
Parameters
- $license : SpdxLicense|NamedLicense
Return values
array<string|int, mixed>normalizeExpression()
private
normalizeExpression(LicenseExpression $license) : array<string|int, mixed>
Parameters
- $license : LicenseExpression