You are here

public function StaticCommand::__construct in Tome 8

Constructs a StaticCommand instance.

Parameters

\Drupal\tome_static\StaticGeneratorInterface $static: The static service.

\Drupal\Core\State\StateInterface $state: The state system.

1 call to StaticCommand::__construct()
StaticExportPathCommand::__construct in modules/tome_static/src/Commands/StaticExportPathCommand.php
Constructs a StaticCommand instance.
1 method overrides StaticCommand::__construct()
StaticExportPathCommand::__construct in modules/tome_static/src/Commands/StaticExportPathCommand.php
Constructs a StaticCommand instance.

File

modules/tome_static/src/Commands/StaticCommand.php, line 64

Class

StaticCommand
Contains the tome:static command.

Namespace

Drupal\tome_static\Commands

Code

public function __construct(StaticGeneratorInterface $static, StateInterface $state) {
  parent::__construct();
  $this->static = $static;
  $this->state = $state;
}