You are here

public function VerboseMessenger::__construct in Pathauto 8

Creates a verbose messenger.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Session\AccountInterface $account: The current user account.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

src/VerboseMessenger.php, line 52

Class

VerboseMessenger
Provides a verbose messenger.

Namespace

Drupal\pathauto

Code

public function __construct(ConfigFactoryInterface $config_factory, AccountInterface $account, CoreMessengerInterface $messenger) {
  $this->configFactory = $config_factory;
  $this->account = $account;
  $this->messenger = $messenger;
}