public function getReflector($funcName)
{
/**
* Check if the optimizer is already cached
*/
if (!isset(self::$_functionReflection[$funcName])) {
try {
$reflectionFunction = new \ReflectionFunction($funcName);
} catch (\Exception $e) {
$reflectionFunction = null;
}
self::$_functionReflection[$funcName] = $reflectionFunction;
$this->_reflection = $reflectionFunction;
return $reflectionFunction;
}
$reflectionFunction = self::$_functionReflection[$funcName];
$this->_reflection = $reflectionFunction;
return $reflectionFunction;
}