From 864236f581376fe3af796027f148a38f6f877b35 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Mon, 5 Sep 2022 08:47:07 +0100 Subject: Refactor custom tag support. Add more tags for MyHeritage and ProGen --- app/Contracts/CustomTagInterface.php | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 app/Contracts/CustomTagInterface.php (limited to 'app/Contracts') diff --git a/app/Contracts/CustomTagInterface.php b/app/Contracts/CustomTagInterface.php new file mode 100644 index 0000000000..233b68d718 --- /dev/null +++ b/app/Contracts/CustomTagInterface.php @@ -0,0 +1,40 @@ +. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Contracts; + +/** + * Definitions for custom tags created by various applications. + */ +interface CustomTagInterface +{ + /** + * The name of the application. + * + * @return string + */ + public function name(): string; + + /** + * Tags created by this application. + * + * @return array + */ + public function tags(): array; +} -- cgit v1.3