Metadata
in package
Tags
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
$tools
The tool(s) used in the creation of the BOM.
private
ToolRepository
$tools
Methods
__construct()
public
__construct() : mixed
getComponent()
public
getComponent() : Component|null
Return values
Component|nullgetProperties()
public
getProperties() : PropertyRepository
Return values
PropertyRepositorygetTimestamp()
public
getTimestamp() : DateTimeInterface|null
Return values
DateTimeInterface|nullgetTools()
public
getTools() : ToolRepository
Return values
ToolRepositorysetComponent()
public
setComponent(Component|null $component) : $this
Parameters
- $component : Component|null
Return values
$thissetProperties()
public
setProperties(PropertyRepository $properties) : $this
Parameters
- $properties : PropertyRepository
Return values
$thissetTimestamp()
public
setTimestamp(DateTimeInterface|null $timestamp) : $this
Parameters
- $timestamp : DateTimeInterface|null
Return values
$thissetTools()
public
setTools(ToolRepository $tools) : $this
Parameters
- $tools : ToolRepository