Gets the YAML parser instance.
Return value
Symfony\Component\Yaml\Parser
File
- drupal/core/lib/Drupal/Core/Config/FileStorage.php, line 151
- Definition of Drupal\Core\Config\FileStorage.
Class
- FileStorage
- Defines the file storage controller.
Namespace
Drupal\Core\Config
Code
protected function getParser() {
if (!isset($this->parser)) {
$this->parser = new Parser();
}
return $this->parser;
}