setRolesModel() public static method

Sets the roles model.
public static setRolesModel ( string $rolesModel ) : void
$rolesModel string
return void
Example #1
0
 /**
  * @runInSeparateProcess
  */
 public function testSetAndGetRolesModel()
 {
     $user = new EloquentUser();
     $user->setRolesModel('RoleMock');
     $this->assertEquals('RoleMock', $user->getRolesModel());
 }