You are here

public function GatsbyFastbuildsCommands::__construct in Gatsby Live Preview & Incremental Builds 2.0.x

Same name and namespace in other branches
  1. 8 modules/gatsby_fastbuilds/src/Commands/GatsbyFastbuildsCommands.php \Drupal\gatsby_fastbuilds\Commands\GatsbyFastbuildsCommands::__construct()

Constructs a new GatsbyFastbuildsCommands object.

File

modules/gatsby_fastbuilds/src/Commands/GatsbyFastbuildsCommands.php, line 33

Class

GatsbyFastbuildsCommands
A drush command file.

Namespace

Drupal\gatsby_fastbuilds\Commands

Code

public function __construct(GatsbyEntityLogger $gatsby_logger, StateInterface $state) {
  parent::__construct();
  $this->gatsbyLogger = $gatsby_logger;
  $this->state = $state;
}