From bc8e5c7657eb53114841b55993ee8839a83c65b0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Jun 2016 20:31:14 +0200 Subject: [PATCH] Fix comments --- Models/Group.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Models/Group.php b/Models/Group.php index 92adf25..7ed78d0 100644 --- a/Models/Group.php +++ b/Models/Group.php @@ -15,6 +15,17 @@ */ namespace Modules\Admin\Models; +/** + * Account group class. + * + * @category Framework + * @package phpOMS\Account + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ class Group extends \phpOMS\Account\Group { /** @@ -33,8 +44,29 @@ class Group extends \phpOMS\Account\Group */ protected $createdBy = 0; + /** + * Get created at. + * + * @return \DateTime + * + * @since 1.0.0 + * @author Dennis Eichhorn + */ public function getCreatedAt() : \DateTime { return $this->createdAt ?? new \DateTime('NOW'); } + + /** + * Get created by. + * + * @return int + * + * @since 1.0.0 + * @author Dennis Eichhorn + */ + public function getCreatedBy() : int + { + return $this->createdBy; + } }