original_string: public function get_author_from_stdclass(stdClass $record) : author_entity {
          return new author_entity(
              $record->id,
              $record->picture,
              $record->firstname,
              $record->lastname,
              fullname($record),
              $record->email,
              $record->middlename,
              $record->firstnamephonetic,
              $record->lastnamephonetic,
              $record->alternatename,
              $record->imagealt
          );
      }
code: public function get_author_from_stdclass(stdClass $record) : author_entity {
          return new author_entity(
              $record->id,
              $record->picture,
              $record->firstname,
              $record->lastname,
              fullname($record),
              $record->email,
              $record->middlename,
              $record->firstnamephonetic,
              $record->lastnamephonetic,
              $record->alternatename,
              $record->imagealt
          );
      }
code_tokens: public function get_author_from_stdclass ( stdClass $ record ) : author_entity { return new author_entity ( $ record -> id , $ record -> picture , $ record -> firstname , $ record -> lastname , fullname ( $ record ) , $ record -> email , $ record -> middlename , $ record -> firstnamephonetic , $ record -> lastnamephonetic , $ record -> alternatename , $ record -> imagealt ) ; }
docstring: Create an author entity from a user record.
  
  @param stdClass $record The user record
  @return author_entity
docstring_tokens: Create an author entity from a user record .