ACreateFromTemplate.php 422 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\DirectEditing;
  7. /**
  8. * @since 18.0.0
  9. */
  10. abstract class ACreateFromTemplate extends ACreateEmpty {
  11. /**
  12. * List of available templates for the create from template action
  13. *
  14. * @since 18.0.0
  15. * @return ATemplate[]
  16. */
  17. abstract public function getTemplates(): array;
  18. }