You are here

public function SimpleSitemapCommands::__construct in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 src/Commands/SimplesitemapCommands.php \Drupal\simple_sitemap\Commands\SimplesitemapCommands::__construct()
  2. 8.2 src/Commands/SimplesitemapCommands.php \Drupal\simple_sitemap\Commands\SimplesitemapCommands::__construct()

SimplesitemapCommands constructor.

Parameters

\Drupal\simple_sitemap\Manager\Generator $generator:

File

src/Commands/SimpleSitemapCommands.php, line 25

Class

SimpleSitemapCommands
Class SimpleSitemapCommands

Namespace

Drupal\simple_sitemap\Commands

Code

public function __construct(Generator $generator) {
  $this->generator = $generator;
  parent::__construct();
}