fix visibility

This commit is contained in:
Dennis Eichhorn 2017-09-14 09:16:01 +02:00
parent 6dbac57df4
commit 8b398f908e
2 changed files with 9 additions and 25 deletions

View File

@ -54,20 +54,4 @@ class GroupPermissionMapper extends DataMapperAbstract
* @since 1.0.0 * @since 1.0.0
*/ */
protected static $primaryField = 'group_permission_id'; protected static $primaryField = 'group_permission_id';
/**
* Get object.
*
* @param mixed $primaryKey Key
* @param int $relations Load relations
* @param mixed $fill Object to fill
*
* @return Group
*
* @since 1.0.0
*/
public static function get($primaryKey, int $relations = RelationType::ALL, $fill = null)
{
return parent::get($primaryKey, $relations, $fill);
}
} }

View File

@ -27,23 +27,23 @@ namespace Modules\Admin\Models;
*/ */
abstract class PermissionAbstract abstract class PermissionAbstract
{ {
private $id = 0; protected $id = 0;
private $unit = null; protected $unit = null;
private $app = null; protected $app = null;
private $module = null; protected $module = null;
private $from = 0; protected $from = 0;
private $type = null; protected $type = null;
private $element = null; protected $element = null;
private $component = null; protected $component = null;
private $permission = 0; protected $permission = 0;
public function getId() public function getId()
{ {