rest_mediatekdocuments

Parser
in package
implements ParserInterface

FinalYes

Table of Contents

Interfaces

ParserInterface

Methods

parse()  : array<string|int, Entry>
Parse content into an entry array.
process()  : Result<array<string|int, Entry>, string>
Convert the raw entries into proper entries.

Methods

parse()

Parse content into an entry array.

public parse(string $content) : array<string|int, Entry>
Parameters
$content : string
Tags
throws
InvalidFileException
Return values
array<string|int, Entry>

process()

Convert the raw entries into proper entries.

private static process(array<string|int, string> $entries) : Result<array<string|int, Entry>, string>
Parameters
$entries : array<string|int, string>
Return values
Result<array<string|int, Entry>, string>

        
On this page

Search results