You are here

public function UpdatePublished::__construct in Acquia Content Hub 8.2

UpdatePublished constructor.

Parameters

Drupal\Core\Database\Connection $database: The database connection.

File

modules/acquia_contenthub_publisher/src/EventSubscriber/HandleWebhook/UpdatePublished.php, line 31

Class

UpdatePublished
Class UpdatePublished.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\HandleWebhook

Code

public function __construct(Connection $database) {
  $this->database = $database;
}