Library/FunctionCall.php
public function getReflector($funcName)
    {
        /*
         * Check if the optimizer is already cached
         */
        if (!isset(self::$functionReflection[$funcName])) {
            try {
                $reflectionFunction = new \ReflectionFunction($funcName);
            } catch (\ReflectionException $e) {
                $reflectionFunction = null;
            }
            self::$functionReflection[$funcName] = $reflectionFunction;
            $this->reflection = $reflectionFunction;

            return $reflectionFunction;
        }
        $reflectionFunction = self::$functionReflection[$funcName];
        $this->reflection = $reflectionFunction;

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

            return $reflectionFunction;
        }
        $reflectionFunction = self::$functionReflection[$funcName];
        $this->reflection = $reflectionFunction;

        return $reflectionFunction;
    }
public function getReflector ( $ funcName ) { /*
         * Check if the optimizer is already cached
         */ if ( ! isset ( self :: $ functionReflection [ $ funcName ] ) ) { try { $ reflectionFunction = new \ ReflectionFunction ( $ funcName ) ; } catch ( \ ReflectionException $ e ) { $ reflectionFunction = null ; } self :: $ functionReflection [ $ funcName ] = $ reflectionFunction ; $ this -> reflection = $ reflectionFunction ; return $ reflectionFunction ; } $ reflectionFunction = self :: $ functionReflection [ $ funcName ] ; $ this -> reflection = $ reflectionFunction ; return $ reflectionFunction ; }
Process the ReflectionFunction for the specified function name.

@param string $funcName

@return \ReflectionFunction|null
Process the ReflectionFunction for the specified function name .