From dbd8bbef02f82982b7e6728a497c0cf2a7ed0c83 Mon Sep 17 00:00:00 2001 From: max Date: Thu, 22 Sep 2016 18:00:14 +0300 Subject: [PATCH] Add getters to Log entity --- src/Domain/Log/Log.php | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/src/Domain/Log/Log.php b/src/Domain/Log/Log.php index aa60d04..065b575 100644 --- a/src/Domain/Log/Log.php +++ b/src/Domain/Log/Log.php @@ -45,4 +45,36 @@ public function populate(array $array = []) return parent::populate($array); } -} \ No newline at end of file + + /** + * @return string + */ + public function getMessage() + { + return $this->message; + } + + /** + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * @return int + */ + public function getPriority() + { + return $this->priority; + } + + /** + * @return string + */ + public function getCreatedDt() + { + return $this->createdDt; + } +}