BomNormalizer
extends _BaseNormalizer
-
author
-
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
private
string
BOM_FORMAT
= 'CycloneDX'
normalize()
public
normalize(Bom $bom) : array<string|int, mixed>
Parameters
-
$bom
: Bom
-
-
psalm-return
-
Return values
array<string|int, mixed>
getSchema()
private
getSchema(Version $version) : string|null
Parameters
-
$version
: Version
-
-
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
private
normalizeMetadata(Metadata $metadata) : array<string|int, mixed>|null
Parameters
-
$metadata
: Metadata
-
Return values
array<string|int, mixed>|null
normalizeProperties()
private
normalizeProperties(PropertyRepository $properties) : array<string|int, mixed>|null
Parameters
-
$properties
: PropertyRepository
-
Return values
array<string|int, mixed>|null
normalizeSerialNumber()
private
normalizeSerialNumber(string|null $serialNumber) : string|null
Parameters
-
$serialNumber
: string|null
-
Return values
string|null