public function LintCommand::__construct in Twig Tweak 3.x
Same name and namespace in other branches
- 3.1.x src/Command/LintCommand.php \Drupal\twig_tweak\Command\LintCommand::__construct()
File
- src/
Command/ LintCommand.php, line 44
Class
- LintCommand
- Command that will validate your template syntax and output encountered errors.
Namespace
Drupal\twig_tweak\CommandCode
public function __construct(Environment $twig) {
parent::__construct();
$this->twig = $twig;
}