ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
YamlParser.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
24 
28 interface YamlParser
29 {
34  public function parseYamlStringArrayFromFile(string $filePath): array;
35 
39  public function parseArrayFromFile(string $filePath): array;
40 
44  public function parseEntriesFromFile(string $filePath): Entry\ComponentEntries;
45 
49  public function parseYamlStringArrayFromString(string $content): array;
50 
54  public function parseArrayFromString(string $content): array;
55 
59  public function parseEntriesFromString(string $content): Entry\ComponentEntries;
60 }
parseArrayFromFile(string $filePath)
Returns an array of arrays of the parsed YAML entries in a given file.
parseEntriesFromFile(string $filePath)
Returns an Entry of the parsed YAML entries in a given file.
parseYamlStringArrayFromString(string $content)
Returns an array of all YAML entries as string of the components in the factories in a given string...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
parseYamlStringArrayFromFile(string $filePath)
Returns an array of all YAML entries as string of the components in the factories in a given file...
parseEntriesFromString(string $content)
Returns a list UI Component Entries of the parsed YAML entries in a given string. ...
parseArrayFromString(string $content)
Returns an array of arrays of the parsed YAML entries in a given string.
Parses information from UI components.
Definition: YamlParser.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Crawler.php:21