privates['console.command.yaml_lint'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\YamlLintCommand(); $instance->setName('lint:yaml'); $instance->setDescription('Lint a YAML file and outputs encountered errors'); return $instance; } }