芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/cms.mgaplay.com.br/lib/XMR/TriggerWebhookAction.php
. */ namespace Xibo\XMR; class TriggerWebhookAction extends PlayerAction { public $triggerCode; public function __construct($triggerCode) { $this->triggerCode = $triggerCode; } /** * @return mixed|string * @throws PlayerActionException */ public function getMessage() { $this->action = 'triggerWebhook'; if ($this->triggerCode == '') { throw new PlayerActionException('Layout Details not provided'); } return $this->serializeToJson(['triggerCode']); } }