您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

AbstractCommand.php 436B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 11/24/15
  6. * Time: 12:03 AM
  7. */
  8. namespace App\Http\Business\Commands;
  9. use App\Http\DBO\CommandsDbo;
  10. abstract class AbstractCommand
  11. {
  12. /**
  13. * @var CommandsDbo
  14. */
  15. protected $_command;
  16. public function __construct(CommandsDbo $command)
  17. {
  18. $this->_command = $command;
  19. }
  20. /**
  21. * @return bool
  22. */
  23. public abstract function exec();
  24. }