SetupApplication.php 692 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\TestFramework;
  7. /**
  8. * Encapsulates application installation, initialization and uninstall, add flag to skip database dump.
  9. *
  10. * Allow installation and uninstallation.
  11. */
  12. class SetupApplication extends Application
  13. {
  14. /**
  15. * {@inheritdoc}
  16. */
  17. protected $dumpDb = false;
  18. /**
  19. * @var bool
  20. */
  21. protected $canLoadArea = false;
  22. /**
  23. * @var bool
  24. */
  25. protected $canInstallSequence = false;
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public function run()
  30. {
  31. throw new \Exception("Can't start application.");
  32. }
  33. }