PHP Class Asm89\Twig\Lint\Command\LintCommand

Original source from https://github.com/symfony/symfony/blob/6b66bc3226fae6e0416039de75f47f91db56bfd9/src/Symfony/Bundle/TwigBundle/Command/LintCommand.php.
Author: Marc Weistroff ([email protected])
Author: Alexander ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
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

configure() protected method

protected configure ( )

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