class TwigCompileCommand extends Command (View source)

Traits

A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.

Constants

NAME

Methods

static AutowireTrait
create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

__construct(LoggerInterface $logger, TwigEnvironment $twig, ModuleHandlerInterface $moduleHandler, ModuleExtensionList $extensionList)

No description

int
execute(InputInterface $input, OutputInterface $output)

No description

Details

static AutowireTrait create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

Parameters

ContainerInterface $container

The service container this instance should use.

Return Value

AutowireTrait

protected __construct(LoggerInterface $logger, TwigEnvironment $twig, ModuleHandlerInterface $moduleHandler, ModuleExtensionList $extensionList)

No description

Parameters

LoggerInterface $logger
TwigEnvironment $twig
ModuleHandlerInterface $moduleHandler
ModuleExtensionList $extensionList

int execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

int