$query, 'number' => 500, ] ); return array_map( function ( $user ) { return new User( $user ); }, $user_query->get_results() ); } }