CycloneDX Library

BomNormalizer extends _BaseNormalizer
in package

Tags
author

jkowalleck

Table of Contents

Constants

BOM_FORMAT  = 'CycloneDX'

Methods

normalize()  : array<string|int, mixed>
getSchema()  : string|null
normalizeDependencies()  : array<string|int, mixed>|null
normalizeExternalReferences()  : array<string|int, mixed>|null
normalizeMetadata()  : array<string|int, mixed>|null
normalizeProperties()  : array<string|int, mixed>|null
normalizeSerialNumber()  : string|null

Constants

Methods

normalize()

public normalize(Bom $bom) : array<string|int, mixed>
Parameters
$bom : Bom
Tags
psalm-return

array<string, mixed>

Return values
array<string|int, mixed>

getSchema()

private getSchema(Version $version) : string|null
Parameters
$version : Version
Tags
psalm-pure
Return values
string|null

normalizeDependencies()

private normalizeDependencies(Bom $bom) : array<string|int, mixed>|null
Parameters
$bom : Bom
Return values
array<string|int, mixed>|null

normalizeExternalReferences()

private normalizeExternalReferences(Bom $bom) : array<string|int, mixed>|null
Parameters
$bom : Bom
Return values
array<string|int, mixed>|null

normalizeMetadata()

private normalizeMetadata(Metadata $metadata) : array<string|int, mixed>|null
Parameters
$metadata : Metadata
Return values
array<string|int, mixed>|null

normalizeSerialNumber()

private normalizeSerialNumber(string|null $serialNumber) : string|null
Parameters
$serialNumber : string|null
Return values
string|null

        
On this page

Search results