TranscriptionSegment
class TranscriptionSegment implements Arrayable, JsonSerializable
Methods
__construct(string $text, string $speaker, float $startSeconds, float $endSeconds)
Create a transcription segment.
array
toArray()
Get the instance as an array.
array
jsonSerialize()
Get the JSON serializable representation of the instance.
Details
at line 15
__construct(string $text, string $speaker, float $startSeconds, float $endSeconds)
Create a transcription segment.
at line 26
array
toArray()
Get the instance as an array.
at line 39
array
jsonSerialize()
Get the JSON serializable representation of the instance.