You are here

public function StaticPreviewCommand::__construct in Tome 8

Constructs a StaticPreviewCommand instance.

Parameters

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

File

modules/tome_static/src/Commands/StaticPreviewCommand.php, line 35

Class

StaticPreviewCommand
Contains the tome:preview command.

Namespace

Drupal\tome_static\Commands

Code

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