Definition at line 24 of file ExamplesYamlParserTest.php.
◆ setUp()
ExamplesYamlParserTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 28 of file ExamplesYamlParserTest.php.
28 : void
29 {
30 $this->parser =
new class () extends
Crawler\ExamplesYamlParser {
31 public function _getYamlEntriesFromString(string $content): array
32 {
33 return $this->getYamlEntriesFromString($content);
34 }
35 };
36 }
◆ testMissingBoundaries()
ExamplesYamlParserTest::testMissingBoundaries |
( |
| ) |
|
◆ testProperEntry()
ExamplesYamlParserTest::testProperEntry |
( |
| ) |
|
Definition at line 38 of file ExamplesYamlParserTest.php.
38 : void
39 {
40 $doc = <<<EOT
41 some other code here
42
54 function something()
55 {
56 }
57EOT;
58 $expected = [
59 'description' => "\nExample showing...",
◆ $parser
Crawler EntriesYamlParser ExamplesYamlParserTest::$parser |
|
protected |
The documentation for this class was generated from the following file: