core/services/container/DependencyInjector.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 74-83 (lines=10) @@ | 
                                                            
                                    | 71 |  |      * @param string $class_name | 
                                                            
                                    | 72 |  |      * @return \ReflectionClass | 
                                                            
                                    | 73 |  |      */ | 
                                                            
                                    | 74 |  |     public function getReflectionClass($class_name) | 
                                                            
                                    | 75 |  |     { | 
                                                            
                                    | 76 |  |         if ( | 
                                                            
                                    | 77 |  |             ! isset($this->reflectors[$class_name]) | 
                                                            
                                    | 78 |  |             || ! $this->reflectors[$class_name] instanceof \ReflectionClass | 
                                                            
                                    | 79 |  |         ) { | 
                                                            
                                    | 80 |  |             $this->reflectors[$class_name] = new \ReflectionClass($class_name); | 
                                                            
                                    | 81 |  |         } | 
                                                            
                                    | 82 |  |         return $this->reflectors[$class_name]; | 
                                                            
                                    | 83 |  |     } | 
                                                            
                                    | 84 |  |  | 
                                                            
                                    | 85 |  |  | 
                                                            
                                    | 86 |  |  | 
                                                                        
                 
                                                            
                    
core/EE_Registry.core.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1134-1142 (lines=9) @@ | 
                                                            
                                    | 1131 |  |      * @return ReflectionClass | 
                                                            
                                    | 1132 |  |      * @throws ReflectionException | 
                                                            
                                    | 1133 |  |      */ | 
                                                            
                                    | 1134 |  |     public function get_ReflectionClass($class_name) | 
                                                            
                                    | 1135 |  |     { | 
                                                            
                                    | 1136 |  |         if ( | 
                                                            
                                    | 1137 |  |             ! isset($this->_reflectors[$class_name]) | 
                                                            
                                    | 1138 |  |             || ! $this->_reflectors[$class_name] instanceof ReflectionClass | 
                                                            
                                    | 1139 |  |         ) { | 
                                                            
                                    | 1140 |  |             $this->_reflectors[$class_name] = new ReflectionClass($class_name); | 
                                                            
                                    | 1141 |  |         } | 
                                                            
                                    | 1142 |  |         return $this->_reflectors[$class_name]; | 
                                                            
                                    | 1143 |  |     } | 
                                                            
                                    | 1144 |  |  | 
                                                            
                                    | 1145 |  |  |