class League / CommonMark / Util / SpecReader
final

SpecReader

Reads in a CommonMark spec document and extracts the input/output examples for testing against them

Methods

private

__construct ( ) : void

public static

read ( string $data ) : iterable

public static

readFile ( string $filename ) : iterable