private function LintCommand::getParser in Lockr 7.3
File
- vendor/
symfony/ yaml/ Command/ LintCommand.php, line 213
Class
- LintCommand
- Validates YAML files syntax and outputs encountered errors.
Namespace
Symfony\Component\Yaml\CommandCode
private function getParser() {
if (!$this->parser) {
$this->parser = new Parser();
}
return $this->parser;
}