original_string: public function to_legacy_objects(array $authors) : array {
          return array_map(function(author_entity $author) {
              return (object) [
                  'id' => $author->get_id(),
                  'picture' => $author->get_picture_item_id(),
                  'firstname' => $author->get_first_name(),
                  'lastname' => $author->get_last_name(),
                  'fullname' => $author->get_full_name(),
                  'email' => $author->get_email(),
                  'middlename' => $author->get_middle_name(),
                  'firstnamephonetic' => $author->get_first_name_phonetic(),
                  'lastnamephonetic' => $author->get_last_name_phonetic(),
                  'alternatename' => $author->get_alternate_name(),
                  'imagealt' => $author->get_image_alt()
              ];
          }, $authors);
      }
code: public function to_legacy_objects(array $authors) : array {
          return array_map(function(author_entity $author) {
              return (object) [
                  'id' => $author->get_id(),
                  'picture' => $author->get_picture_item_id(),
                  'firstname' => $author->get_first_name(),
                  'lastname' => $author->get_last_name(),
                  'fullname' => $author->get_full_name(),
                  'email' => $author->get_email(),
                  'middlename' => $author->get_middle_name(),
                  'firstnamephonetic' => $author->get_first_name_phonetic(),
                  'lastnamephonetic' => $author->get_last_name_phonetic(),
                  'alternatename' => $author->get_alternate_name(),
                  'imagealt' => $author->get_image_alt()
              ];
          }, $authors);
      }
code_tokens: public function to_legacy_objects ( array $ authors ) : array { return array_map ( function ( author_entity $ author ) { return ( object ) [ 'id' => $ author -> get_id ( ) , 'picture' => $ author -> get_picture_item_id ( ) , 'firstname' => $ author -> get_first_name ( ) , 'lastname' => $ author -> get_last_name ( ) , 'fullname' => $ author -> get_full_name ( ) , 'email' => $ author -> get_email ( ) , 'middlename' => $ author -> get_middle_name ( ) , 'firstnamephonetic' => $ author -> get_first_name_phonetic ( ) , 'lastnamephonetic' => $ author -> get_last_name_phonetic ( ) , 'alternatename' => $ author -> get_alternate_name ( ) , 'imagealt' => $ author -> get_image_alt ( ) ] ; } , $ authors ) ; }
docstring: Convert a list of author entities into stdClasses.
  
  @param author_entity[] $authors The authors to convert.
  @return stdClass[]
docstring_tokens: Convert a list of author entities into stdClasses .