classes/bfw/mvc/model/benutzerverwaltung/Model.php
changeset 9 8c2f3735a9bd
parent 7 3ed6f90e97d9
--- a/classes/bfw/mvc/model/benutzerverwaltung/Model.php
+++ b/classes/bfw/mvc/model/benutzerverwaltung/Model.php
@@ -7,12 +7,20 @@
 
 namespace bfw\mvc\model\benutzerverwaltung;
 
+use bfw\core\Entity;
 use bfw\entities\TGroup;
 use bfw\entities\TUser;
 
 class Model extends \bfw\core\Model {
 
+    /**
+     * @var TUser
+     */
     private $user;
+
+    /**
+     * @var TGroup
+     */
     private $group;
 
     public function __construct() {
@@ -20,18 +28,30 @@
         $this->group = new TGroup();
     }
 
+    /**
+     * @return TUser
+     */
     public function getUser() {
         return $this->user;
     }
 
+    /**
+     * @return TGroup
+     */
     public function getGroup() {
         return $this->group;
     }
 
+    /**
+     * @return Entity[]
+     */
     public function getUsers() {
         return $this->user->findAll();
     }
 
+    /**
+     * @return Entity[]
+     */
     public function getGroups() {
         return $this->group->findAll();
     }