original_string: protected function migratePerson($person)
      {
          //TODO create person in personal data table
          $user = User::firstOrNew([
              'email' => $person->email,
          ]);
          $user->name = $person->name;
          $user->password = bcrypt('secret');
          $user->remember_token = str_random(10);
          $user->save();
          return $user;
      }
code: protected function migratePerson($person)
      {
          //TODO create person in personal data table
          $user = User::firstOrNew([
              'email' => $person->email,
          ]);
          $user->name = $person->name;
          $user->password = bcrypt('secret');
          $user->remember_token = str_random(10);
          $user->save();
          return $user;
      }
code_tokens: protected function migratePerson ( $ person ) { //TODO create person in personal data table $ user = User :: firstOrNew ( [ 'email' => $ person -> email , ] ) ; $ user -> name = $ person -> name ; $ user -> password = bcrypt ( 'secret' ) ; $ user -> remember_token = str_random ( 10 ) ; $ user -> save ( ) ; return $ user ; }
docstring: Migrate ebre-escool person to scool person.
  
  @param $person
docstring_tokens: Migrate ebre - escool person to scool person .