You are here

public function SimplesitemapCommands::__construct in Simple XML sitemap 8.2

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

SimplesitemapCommands constructor.

Parameters

\Drupal\simple_sitemap\Simplesitemap $generator:

File

src/Commands/SimplesitemapCommands.php, line 23

Class

SimplesitemapCommands
Class SimplesitemapCommands @package Drupal\simple_sitemap\Commands

Namespace

Drupal\simple_sitemap\Commands

Code

public function __construct(Simplesitemap $generator) {
  $this->generator = $generator;
}