CycloneDX Library

Metadata
in package

Tags
author

jkowalleck

Table of Contents

Properties

$component  : Component|null
The component that the BOM describes.
$properties  : PropertyRepository
Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions.
$timestamp  : DateTimeInterface|null
The date and time (timestamp) when the BOM was created.
$tools  : ToolRepository
The tool(s) used in the creation of the BOM.

Methods

__construct()  : mixed
getComponent()  : Component|null
getProperties()  : PropertyRepository
getTimestamp()  : DateTimeInterface|null
getTools()  : ToolRepository
setComponent()  : $this
setProperties()  : $this
setTimestamp()  : $this
setTools()  : $this

Properties

$component

The component that the BOM describes.

private Component|null $component = null

$properties

Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions.

private PropertyRepository $properties

Unlike key-value stores, properties support duplicate names, each potentially having different values.

Property names of interest to the general public are encouraged to be registered in the CycloneDX Property Taxonomy. Formal registration is OPTIONAL.

$timestamp

The date and time (timestamp) when the BOM was created.

private DateTimeInterface|null $timestamp = null

Methods

__construct()

public __construct() : mixed

getTimestamp()

public getTimestamp() : DateTimeInterface|null
Return values
DateTimeInterface|null

setTimestamp()

public setTimestamp(DateTimeInterface|null $timestamp) : $this
Parameters
$timestamp : DateTimeInterface|null
Return values
$this

        
On this page

Search results