src/user.php
public function setRole(string $role) {
		$this->user->role = role::get($role);
		R::store($this->user);
	}
public function setRole(string $role) {
		$this->user->role = role::get($role);
		R::store($this->user);
	}
public function setRole ( string $ role ) { $ this -> user -> role = role :: get ( $ role ) ; R :: store ( $ this -> user ) ; }
set role of user

@param string $role rolename
set role of user