From 133b17a9c67ea7639c77190bdd8d422a7d1ffb78 Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Fri, 25 May 2018 16:29:14 +0200 Subject: [PATCH] add recipe for BeelabTagBundle --- .../1.3/config/packages/beelab_tag.yaml | 2 + beelab/tag-bundle/1.3/manifest.json | 9 ++++ beelab/tag-bundle/1.3/post-install.txt | 4 ++ beelab/tag-bundle/1.3/src/Entity/Tag.php | 50 +++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 beelab/tag-bundle/1.3/config/packages/beelab_tag.yaml create mode 100644 beelab/tag-bundle/1.3/manifest.json create mode 100644 beelab/tag-bundle/1.3/post-install.txt create mode 100644 beelab/tag-bundle/1.3/src/Entity/Tag.php diff --git a/beelab/tag-bundle/1.3/config/packages/beelab_tag.yaml b/beelab/tag-bundle/1.3/config/packages/beelab_tag.yaml new file mode 100644 index 00000000..0f22e457 --- /dev/null +++ b/beelab/tag-bundle/1.3/config/packages/beelab_tag.yaml @@ -0,0 +1,2 @@ +beelab_tag: + tag_class: App\Entity\Tag diff --git a/beelab/tag-bundle/1.3/manifest.json b/beelab/tag-bundle/1.3/manifest.json new file mode 100644 index 00000000..0b1189cb --- /dev/null +++ b/beelab/tag-bundle/1.3/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Beelab\\TagBundle\\BeelabTagBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + } +} diff --git a/beelab/tag-bundle/1.3/post-install.txt b/beelab/tag-bundle/1.3/post-install.txt new file mode 100644 index 00000000..d5204efc --- /dev/null +++ b/beelab/tag-bundle/1.3/post-install.txt @@ -0,0 +1,4 @@ + Next for BeelabTagBundle + * Customize your new Tag entity + * Read documentation at https://github.com/Bee-Lab/BeelabTagBundle/blob/master/Resources/docs/index.md + diff --git a/beelab/tag-bundle/1.3/src/Entity/Tag.php b/beelab/tag-bundle/1.3/src/Entity/Tag.php new file mode 100644 index 00000000..c4accc92 --- /dev/null +++ b/beelab/tag-bundle/1.3/src/Entity/Tag.php @@ -0,0 +1,50 @@ +name; + } + + public function getId(): int + { + return $this->id; + } + + public function setName($name) + { + $this->name = $name; + } + + public function getName() + { + return $this->name; + } +} +