core/services/container/DependencyInjector.php 1 location
|
@@ 78-87 (lines=10) @@
|
75 |
|
* @param string $class_name |
76 |
|
* @return ReflectionClass |
77 |
|
*/ |
78 |
|
public function getReflectionClass($class_name) |
79 |
|
{ |
80 |
|
if ( |
81 |
|
! isset($this->reflectors[$class_name]) |
82 |
|
|| ! $this->reflectors[$class_name] instanceof ReflectionClass |
83 |
|
) { |
84 |
|
$this->reflectors[$class_name] = new ReflectionClass($class_name); |
85 |
|
} |
86 |
|
return $this->reflectors[$class_name]; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
core/EE_Registry.core.php 1 location
|
@@ 1313-1322 (lines=10) @@
|
1310 |
|
* @return ReflectionClass |
1311 |
|
* @throws ReflectionException |
1312 |
|
*/ |
1313 |
|
public function get_ReflectionClass($class_name) |
1314 |
|
{ |
1315 |
|
if ( |
1316 |
|
! isset($this->_reflectors[$class_name]) |
1317 |
|
|| ! $this->_reflectors[$class_name] instanceof ReflectionClass |
1318 |
|
) { |
1319 |
|
$this->_reflectors[$class_name] = new ReflectionClass($class_name); |
1320 |
|
} |
1321 |
|
return $this->_reflectors[$class_name]; |
1322 |
|
} |
1323 |
|
|
1324 |
|
|
1325 |
|
|