From 7270e190e9dea57c81a3db5f7e4a19cd1e8ba213 Mon Sep 17 00:00:00 2001 From: BartoszSiejka Date: Wed, 18 Feb 2015 15:08:39 +0100 Subject: [PATCH] Add setters and getters for code in ArchetypeInterface and for description in TaxonTranslationInterface --- .../Archetype/Model/ArchetypeInterface.php | 14 ++++++++++++++ .../Taxonomy/Model/TaxonTranslationInterface.php | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/Sylius/Component/Archetype/Model/ArchetypeInterface.php b/src/Sylius/Component/Archetype/Model/ArchetypeInterface.php index c4ae085d93..9af98ef082 100644 --- a/src/Sylius/Component/Archetype/Model/ArchetypeInterface.php +++ b/src/Sylius/Component/Archetype/Model/ArchetypeInterface.php @@ -114,4 +114,18 @@ interface ArchetypeInterface extends TimestampableInterface, ArchetypeTranslatio * @return null|ArchetypeInterface */ public function getParent(); + + /** + * Get code. + * + * @return string + */ + public function getCode(); + + /** + * Sets code. + * + * @param string $code + */ + public function setCode($code); } diff --git a/src/Sylius/Component/Taxonomy/Model/TaxonTranslationInterface.php b/src/Sylius/Component/Taxonomy/Model/TaxonTranslationInterface.php index f5466b161c..6f5625e7cf 100644 --- a/src/Sylius/Component/Taxonomy/Model/TaxonTranslationInterface.php +++ b/src/Sylius/Component/Taxonomy/Model/TaxonTranslationInterface.php @@ -48,4 +48,18 @@ interface TaxonTranslationInterface extends SlugAwareInterface * @param string $permalink */ public function setPermalink($permalink); + + /** + * Get description. + * + * @return string + */ + public function getDescription(); + + /** + * Set description. + * + * @param string $description + */ + public function setDescription($description); }