0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
lib
/
XMR
/
[
Home
]
File: CommandAction.php
<?php /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (CommandAction.php) */ namespace Xibo\XMR; class CommandAction extends PlayerAction { protected $commandCode; /** * Set the command code * @param string $code * @return $this */ public function setCommandCode($code) { $this->commandCode = $code; return $this; } public function getMessage() { $this->action = 'commandAction'; if ($this->commandCode == '') throw new PlayerActionException('Missing Command Code'); return $this->serializeToJson(['commandCode']); } }