public function Purge::__construct in Acquia Content Hub 8.2
Purge constructor.
Parameters
\Drupal\Core\Queue\QueueFactory $queue_factory: The queue factory.
\Drupal\Core\Logger\LoggerChannelInterface $logger_channel: The logger channel.
\Drupal\Core\Database\Connection $database: The database connection.
Overrides PurgeBase::__construct
File
- modules/
acquia_contenthub_publisher/ src/ EventSubscriber/ HandleWebhook/ Purge.php, line 37
Class
- Purge
- Class PurgePublisher.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhookCode
public function __construct(QueueFactory $queue_factory, LoggerChannelInterface $logger_channel, Connection $database) {
parent::__construct($queue_factory, $logger_channel);
$this->database = $database;
}