ComponentNormalizer
extends _BaseNormalizer
in package
Tags
Table of Contents
Methods
- normalize() : array<string|int, mixed>
- normalizeExternalReferences() : array<string|int, mixed>|null
- normalizeHashes() : array<string|int, mixed>|null
- normalizeLicenses() : array<string|int, mixed>|null
- normalizeProperties() : array<string|int, mixed>|null
- normalizePurl() : string|null
Methods
normalize()
public
normalize(Component $component) : array<string|int, mixed>
Parameters
- $component : Component
Tags
Return values
array<string|int, mixed>normalizeExternalReferences()
private
normalizeExternalReferences(ExternalReferenceRepository $extRefs) : array<string|int, mixed>|null
Parameters
- $extRefs : ExternalReferenceRepository
Return values
array<string|int, mixed>|nullnormalizeHashes()
private
normalizeHashes(HashDictionary $hashes) : array<string|int, mixed>|null
Parameters
- $hashes : HashDictionary
Return values
array<string|int, mixed>|nullnormalizeLicenses()
private
normalizeLicenses(LicenseRepository $licenses) : array<string|int, mixed>|null
Parameters
- $licenses : LicenseRepository
Return values
array<string|int, mixed>|nullnormalizeProperties()
private
normalizeProperties(PropertyRepository $properties) : array<string|int, mixed>|null
Parameters
- $properties : PropertyRepository
Return values
array<string|int, mixed>|nullnormalizePurl()
private
normalizePurl(PackageUrl|null $purl) : string|null
Parameters
- $purl : PackageUrl|null