Copied!

SegmentMetadataServiceInterface

SegmentMetadataServiceInterface.php : 15
Interface

Methods

publicdeleteMetadata()

SegmentMetadataServiceInterface.php : 53
public deleteMetadata(Segment $segment, string $namespace) : void

Parameters

Name Type Default value Description
$segment Segment - -
$namespace string - -
Tags
Throws
UnauthorizedException
Throws
InvalidArgumentException

publicloadMetadata()

SegmentMetadataServiceInterface.php : 32
public loadMetadata(Segment $segment[, string|null $namespace = null ]) : array<string, array<int, string>>

Parameters

Name Type Default value Description
$segment Segment - -
$namespace string|null null -

Return values

array<string, array<int, string>>

Tags
Throws
UnauthorizedException

publicloadMetadataForSegments()

SegmentMetadataServiceInterface.php : 22
public loadMetadataForSegments(array<int, Segment> $segments[, string|null $namespace = null ]) : array<int, array<string, array<int, string>>>

Parameters

Name Type Default value Description
$segments array<int, Segment> - -
$namespace string|null null -

Return values

array<int, array<string, array<int, string>>>

publicreplaceMetadata()

SegmentMetadataServiceInterface.php : 43
public replaceMetadata(Segment $segment, string $namespace, array<string, array<int, string>> $values) : void

Parameters

Name Type Default value Description
$segment Segment - -
$namespace string - -
$values array<string, array<int, string>> - -
Tags
Throws
UnauthorizedException
Throws
InvalidArgumentException