Copied!

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

CloneableFinal
Methods
public static read(string $data) : iterable
 
  • return iterable<string,array{input: string, output: string, type: string, section: string, number: int}>
public static readFile(string $filename) : iterable
 
  • return iterable<string,array{input: string, output: string, type: string, section: string, number: int}>
  • throws \IOException if the file cannot be loaded
Methods
private __construct()
Methods
public static read(string $data) : iterable
 
  • return iterable<string,array{input: string, output: string, type: string, section: string, number: int}>
public static readFile(string $filename) : iterable
 
  • return iterable<string,array{input: string, output: string, type: string, section: string, number: int}>
  • throws \IOException if the file cannot be loaded
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration