You are here

public function LintCommand::__construct in Twig Tweak 3.x

Same name and namespace in other branches
  1. 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\Command

Code

public function __construct(Environment $twig) {
  parent::__construct();
  $this->twig = $twig;
}