19 declare(strict_types=1);
    26     protected Crawler\EntriesYamlParser 
$parser;
    28     protected function setUp(): void
    30         $this->parser = 
new class () extends 
Crawler\ExamplesYamlParser {
    31             public function _getYamlEntriesFromString(
string $content): array
    33                 return $this->getYamlEntriesFromString($content);
    59             'description' => 
"\nExample showing...",
    60             'expected output' => 
"\nILIAS shows the expected output.\nAt least, it should."    65             $this->parser->_getYamlEntriesFromString($doc)
    79         $this->assertEquals([], $this->parser->_getYamlEntriesFromString($doc));
 
Crawler EntriesYamlParser $parser
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...