PHP Class Asm89\Twig\Lint\Command\LintCommand
Original source from https://github.com/symfony/symfony/blob/6b66bc3226fae6e0416039de75f47f91db56bfd9/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php.
Show file
Open project: asm89/twig-lint
Protected Methods
Method |
Description |
|
configure ( ) |
|
|
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
|
|
getOutput ( Symfony\Component\Console\Output\OutputInterface $output, $format ) |
|
|
validateTemplate ( Twig_Environment $twig, Asm89\Twig\Lint\Output\OutputInterface $output, $template, $file = null, $onlyPrintErrors = false ) |
|
|
Method Details
execute()
protected method
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
$input |
Symfony\Component\Console\Input\InputInterface |
|
$output |
Symfony\Component\Console\Output\OutputInterface |
|
getOutput()
protected method
protected getOutput ( Symfony\Component\Console\Output\OutputInterface $output, $format ) |
$output |
Symfony\Component\Console\Output\OutputInterface |
|
validateTemplate()
protected method
protected validateTemplate ( Twig_Environment $twig, Asm89\Twig\Lint\Output\OutputInterface $output, $template, $file = null, $onlyPrintErrors = false ) |
$twig |
Twig_Environment |
|
$output |
Asm89\Twig\Lint\Output\OutputInterface |
|