class League / CommonMark / Util / SpecReader
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
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