TemplateInterface.php 451 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Mtf\Util\Generate\File;
  7. /**
  8. * Interface for file template.
  9. */
  10. interface TemplateInterface
  11. {
  12. /**
  13. * Create and return file content.
  14. *
  15. * @return string
  16. */
  17. public function render();
  18. /**
  19. * Get filename. Without directory.
  20. *
  21. * @return string
  22. */
  23. public function getName();
  24. }