NextDom\Rest\CmdRest::exec
Execute command Options must be stored in $_POST of the request.
Signature
public function exec(Request
$request,
int
$cmdId )
Parameters
$request
— Symfony\Component\HttpFoundation\Request- Query data
$cmdId
— int- Command id to execute
Returns
- bool
- True if success