StaticContent.php 673 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Mtf\Util\Command\Cli;
  7. use Magento\Mtf\Util\Command\Cli;
  8. /**
  9. * Merchant Developer deploys static view files during test executions so that Storefront UI updates are applied.
  10. */
  11. class StaticContent extends Cli
  12. {
  13. /**
  14. * Parameter for deploy static view files.
  15. */
  16. const PARAM_SETUP_STATIC_CONTENT_DEPLOY = 'setup:static-content:deploy';
  17. /**
  18. * Deploy static view files.
  19. *
  20. * @return void
  21. */
  22. public function deploy()
  23. {
  24. parent::execute(StaticContent::PARAM_SETUP_STATIC_CONTENT_DEPLOY);
  25. }
  26. }