123456789101112131415161718192021222324 |
- <?php
-
-
- namespace App\Http\Business\Commands;
-
- class DummyCommand extends AbstractCommand
- {
-
-
- public function exec()
- {
- $data = $this->_command->getData();
- if (isset($data["Success"]) && !$data["Success"]) {
- abort(500, "Failed to execute command");
- }
- return true;
- }
- }
|