MetadataNormalizer
extends _BaseNormalizer
-
author
-
Table of Contents
Methods
-
normalize()
: array<string|int, mixed>
-
normalizeComponent()
: array<string|int, mixed>|null
-
normalizeProperties()
: array<string|int, mixed>|null
-
normalizeTimestamp()
: string|null
-
normalizeTools()
: array<string|int, mixed>|null
normalize()
public
normalize(Metadata $metadata) : array<string|int, mixed>
Parameters
-
$metadata
: Metadata
-
Return values
array<string|int, mixed>
normalizeComponent()
private
normalizeComponent(Component|null $component) : array<string|int, mixed>|null
Parameters
-
$component
: Component|null
-
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
normalizeTimestamp()
private
normalizeTimestamp(DateTimeInterface|null $timestamp) : string|null
Parameters
-
$timestamp
: DateTimeInterface|null
-
Return values
string|null
private
normalizeTools(ToolRepository $tools) : array<string|int, mixed>|null
Parameters
-
$tools
: ToolRepository
-
Return values
array<string|int, mixed>|null