MenuParser
class MenuParser extends BaseParser (View source)
Properties
protected FileLocator | $fileLocator | from BaseParser | |
protected PathResolver | $pathResolver | from BaseParser | |
protected string | $initialFilename | from BaseParser | |
protected string[] | $parsedFilenames | from BaseParser |
Methods
__construct(string $projectDir, string $initialFilename = 'menu.yaml')
No description
Collection
parseConfigYaml(string $filename, bool $ignoreMissing = false)
Read and parse a YAML configuration file.
from
BaseParser
Collection
parse()
Read and parse the taxonomy.yml configuration file.
Details
__construct(string $projectDir, string $initialFilename = 'menu.yaml')
protected Collection
parseConfigYaml(string $filename, bool $ignoreMissing = false)
Read and parse a YAML configuration file.
If filename doesn't exist and/or isn't readable, we attempt to locate it in our config folder. This way you can pass in either an absolute filename or simply 'menu.yaml'.
array
getParsedFilenames()
getInitialFilename()
getFilenameLocalOverrides()
Collection
parse()
Read and parse the taxonomy.yml configuration file.