You are here

public function MediaSitemapGenerator::__construct in Media Sitemap 8

MediaSitemapGenerator constructor.

Parameters

Connection $database:

\Drupal\Core\Config\ConfigFactory $configFactory:

\Drupal\Core\File\FileSystem $fileSystem:

\Drupal\Core\Messenger\MessengerInterface $messenger:

File

src/MediaSitemapGenerator.php, line 50
Contains \Drupal\media_sitemap\MediaSitemapGenerator.

Class

MediaSitemapGenerator
Class MediaSitemapGenerator.

Namespace

Drupal\media_sitemap

Code

public function __construct(Connection $database, ConfigFactory $configFactory, FileSystem $fileSystem, MessengerInterface $messenger) {
  $this->database = $database;
  $this->configFactory = $configFactory;
  $this->fileSystem = $fileSystem;
  $this->messenger = $messenger;
}