| 1 | <?php  | 
            ||
| 10 | final class PreSitemapRenderEvent extends Event  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 11 | { | 
            ||
| 12 | public const NAME = 'sitemap.pre_render';  | 
            ||
| 13 | |||
| 14 | /** @var ArrayCollection */  | 
            ||
| 15 | private $extraItems;  | 
            ||
| 16 | |||
| 17 | /** @var string */  | 
            ||
| 18 | private $locale;  | 
            ||
| 19 | |||
| 20 | public function __construct($locale)  | 
            ||
| 25 | |||
| 26 | public function getLocale(): string  | 
            ||
| 30 | |||
| 31 | public function getExtraItems(): Collection  | 
            ||
| 35 | |||
| 36 | public function addExtraItem(SitemapUrl $extraItem): void  | 
            ||
| 42 | }  | 
            ||
| 43 | 
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.