setRolesModel() public static méthode

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