CycloneDX Library

Serializer

Tags
author

jkowalleck

Table of Contents

Methods

serialize()  : string
Serialize a {@see Bom} to string.

Methods

serialize()

Serialize a {@see Bom} to string.

public serialize(Bom $bom[, bool $prettyPrint = null ]) : string
Parameters
$bom : Bom

the BOM to serialize

$prettyPrint : bool = null

whether to beatify the resulting string. A null value means no preference.

Tags
throws
Throwable
Return values
string

        
On this page

Search results