Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

CommandsController.php 472B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 11/23/15
  6. * Time: 11:44 PM
  7. */
  8. namespace App\Http\Controller;
  9. use App\Http\Business\CommandsBusiness;
  10. use App\Http\DBO\CommandsDbo;
  11. use App\Http\DBO\CommandTypesDbo;
  12. use Laravel\Lumen\Routing\Controller as BaseController;
  13. class CommandsController extends BaseController
  14. {
  15. public function exec(CommandsDbo $command, CommandTypesDbo $type)
  16. {
  17. return CommandsBusiness::exec($command, $type);
  18. }
  19. }