public function SimplesitemapCommands::__construct in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Commands/SimplesitemapCommands.php \Drupal\simple_sitemap\Commands\SimplesitemapCommands::__construct()
- 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 24
Class
- SimplesitemapCommands
- Class SimplesitemapCommands @package Drupal\simple_sitemap\Commands
Namespace
Drupal\simple_sitemap\CommandsCode
public function __construct(Simplesitemap $generator) {
$this->generator = $generator;
}