connection = $connectionFactory->create(); } /** * {@inheritdoc} */ public function getTopic() { return $this->topic; } /** * {@inheritdoc} */ public function isDisabled() { return $this->isDisabled; } /** * {@inheritdoc} */ public function getConnection() { return $this->connection; } /** * Set publisher config item data. * * @param array $data * @return void */ public function setData(array $data) { $this->topic = $data['topic']; $this->isDisabled = $data['disabled']; $this->connection->setData($data['connection']); } }