| 1 | <?php  | 
            ||
| 2 | class BugherdHeroTool extends Extension  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 3 | { | 
            ||
| 4 | /**  | 
            ||
| 5 | * Function which reads the Bugherd Key from the Configuration  | 
            ||
| 6 | */  | 
            ||
| 7 | public function getProjectKey()  | 
            ||
| 15 | |||
| 16 | public function getEnvType()  | 
            ||
| 25 | |||
| 26 | public function getMemberStatus()  | 
            ||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * Function which loads the bugherd template into the Website  | 
            ||
| 39 | */  | 
            ||
| 40 | public function onAfterInit()  | 
            ||
| 54 | }  | 
            ||
| 55 | 
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.