SourceFileInterface.php 581 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * Interface for work with archives
  8. *
  9. * @author Magento Core Team <core@magentocommerce.com>
  10. */
  11. namespace Magento\Framework\Backup;
  12. interface SourceFileInterface
  13. {
  14. /**
  15. * Check if keep files of backup
  16. *
  17. * @return bool
  18. */
  19. public function keepSourceFile();
  20. /**
  21. * Set if keep files of backup
  22. *
  23. * @param bool $keepSourceFile
  24. * @return $this
  25. */
  26. public function setKeepSourceFile(bool $keepSourceFile);
  27. }