You are here

public function StaticExportPathCommand::__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.

\Drupal\tome_static\RequestPreparer $request_preparer: The request preparer.

Overrides StaticCommand::__construct

File

modules/tome_static/src/Commands/StaticExportPathCommand.php, line 42

Class

StaticExportPathCommand
Contains the tome:static-export-path command.

Namespace

Drupal\tome_static\Commands

Code

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