/**
  * @param Role   $role
  * @param string $name
  * @param bool   $allowed
  */
 public function __construct(Role $role, $name, $allowed = true)
 {
     parent::__construct($name, $allowed);
     $this->role = $role;
 }
 /**
  * @param User   $user
  * @param string $name
  * @param bool   $allowed
  */
 public function __construct(User $user, $name, $allowed = true)
 {
     parent::__construct($name, $allowed);
     $this->user = $user;
 }