lib/RIM/Participation/Author.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 93-104 (lines=12) @@ | 
                                                            
                                    | 90 |  |         return 'AUT'; | 
                                                            
                                    | 91 |  |     } | 
                                                            
                                    | 92 |  |  | 
                                                            
                                    | 93 |  |     public function toDOMElement(\DOMDocument $doc): \DOMElement | 
                                                            
                                    | 94 |  |     { | 
                                                            
                                    | 95 |  |         $el = $this->createElement($doc); | 
                                                            
                                    | 96 |  |          | 
                                                            
                                    | 97 |  |         $el->appendChild((new Time($this->time))->toDOMElement($doc)); | 
                                                            
                                    | 98 |  |          | 
                                                            
                                    | 99 |  |         foreach ($this->assignedAuthors as $assignedAuthor) { | 
                                                            
                                    | 100 |  |             $el->appendChild($assignedAuthor->toDOMElement($doc)); | 
                                                            
                                    | 101 |  |         } | 
                                                            
                                    | 102 |  |          | 
                                                            
                                    | 103 |  |         return $el; | 
                                                            
                                    | 104 |  |     } | 
                                                            
                                    | 105 |  | } | 
                                                            
                                    | 106 |  |  | 
                                                                        
                 
                                                            
                    
lib/RIM/Role/AssignedAuthor.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 170-181 (lines=12) @@ | 
                                                            
                                    | 167 |  |         return 'ASSIGNED'; | 
                                                            
                                    | 168 |  |     } | 
                                                            
                                    | 169 |  |  | 
                                                            
                                    | 170 |  |     public function toDOMElement(\DOMDocument $doc): \DOMElement | 
                                                            
                                    | 171 |  |     { | 
                                                            
                                    | 172 |  |         $el = $this->createElement($doc); | 
                                                            
                                    | 173 |  |          | 
                                                            
                                    | 174 |  |         foreach ($this->ids->get() as $ii) { | 
                                                            
                                    | 175 |  |             $el->appendChild((new Id($ii))->toDOMElement($doc)); | 
                                                            
                                    | 176 |  |         } | 
                                                            
                                    | 177 |  |          | 
                                                            
                                    | 178 |  |         $el->appendChild($this->author->toDOMElement($doc)); | 
                                                            
                                    | 179 |  |          | 
                                                            
                                    | 180 |  |         return $el; | 
                                                            
                                    | 181 |  |     } | 
                                                            
                                    | 182 |  | } | 
                                                            
                                    | 183 |  |  |