original_string: public static function create($user_id) {
  	$text  = bootstrap::get_library('text');
  	$mysql = bootstrap::get_library('mysql');
  	
  	$new_token  = $text::generate_token(self::TOKEN_LENGTH);
  	$expiration = (time() + self::EXPIRATION);
  	
  	$sql   = "INSERT INTO `login_tokens` SET `code` = '%s', `user_id` = %d, `expire_at` = %d;";
  	$binds = [$new_token, $user_id, $expiration];
  	$mysql::query($sql, $binds);
  	
  	return new static($mysql::$insert_id);
  }
code: public static function create($user_id) {
  	$text  = bootstrap::get_library('text');
  	$mysql = bootstrap::get_library('mysql');
  	
  	$new_token  = $text::generate_token(self::TOKEN_LENGTH);
  	$expiration = (time() + self::EXPIRATION);
  	
  	$sql   = "INSERT INTO `login_tokens` SET `code` = '%s', `user_id` = %d, `expire_at` = %d;";
  	$binds = [$new_token, $user_id, $expiration];
  	$mysql::query($sql, $binds);
  	
  	return new static($mysql::$insert_id);
  }
code_tokens: public static function create ( $ user_id ) { $ text = bootstrap :: get_library ( 'text' ) ; $ mysql = bootstrap :: get_library ( 'mysql' ) ; $ new_token = $ text :: generate_token ( self :: TOKEN_LENGTH ) ; $ expiration = ( time ( ) + self :: EXPIRATION ) ; $ sql = "INSERT INTO `login_tokens` SET `code` = '%s', `user_id` = %d, `expire_at` = %d;" ; $ binds = [ $ new_token , $ user_id , $ expiration ] ; $ mysql :: query ( $ sql , $ binds ) ; return new static ( $ mysql :: $ insert_id ) ; }
docstring: create a new temporary login token
  
  @param  int   $user_id
  @return $this
docstring_tokens: create a new temporary login token