From 8b3e6c6e3012ebcb8276d326887f73cdaaccf9ca Mon Sep 17 00:00:00 2001 From: Stephan Vock Date: Sun, 12 Mar 2017 23:48:55 +0100 Subject: [PATCH] Quest: add user getter --- src/Entity/QuestInterface.php | 2 ++ tests/Mock/Entity/MockQuest.php | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/Entity/QuestInterface.php b/src/Entity/QuestInterface.php index 64b519e..5ee55d8 100644 --- a/src/Entity/QuestInterface.php +++ b/src/Entity/QuestInterface.php @@ -9,6 +9,8 @@ public function getState(): string; public function getQuestId(); + public function getUser(); + public function getSlotId(); /** diff --git a/tests/Mock/Entity/MockQuest.php b/tests/Mock/Entity/MockQuest.php index f112a72..2c5ab55 100644 --- a/tests/Mock/Entity/MockQuest.php +++ b/tests/Mock/Entity/MockQuest.php @@ -41,6 +41,11 @@ public function getQuestId() return $this->questId; } + public function getUser() + { + return $this->user; + } + public function getSlotId(): string { return $this->slotId;