You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }