protected function getReflectionMethod($class, $method)
    {
        if (!isset($this->methodReflectors[$class])) {
            $this->methodReflectors[$class] = [];
        }
        if (!isset($this->methodReflectors[$class][$method])) {
            $this->methodReflectors[$class][$method] = new \ReflectionMethod($class, $method);
        }

        return $this->methodReflectors[$class][$method];
    }
protected function getReflectionMethod($class, $method)
    {
        if (!isset($this->methodReflectors[$class])) {
            $this->methodReflectors[$class] = [];
        }
        if (!isset($this->methodReflectors[$class][$method])) {
            $this->methodReflectors[$class][$method] = new \ReflectionMethod($class, $method);
        }

        return $this->methodReflectors[$class][$method];
    }
protected function getReflectionMethod ( $ class , $ method ) { if ( ! isset ( $ this -> methodReflectors [ $ class ] ) ) { $ this -> methodReflectors [ $ class ] = [ ] ; } if ( ! isset ( $ this -> methodReflectors [ $ class ] [ $ method ] ) ) { $ this -> methodReflectors [ $ class ] [ $ method ] = new \ ReflectionMethod ( $ class , $ method ) ; } return $ this -> methodReflectors [ $ class ] [ $ method ] ; }
Returns a method reflection

@param string $class
@param string $method

@return \ReflectionMethod
Returns a method reflection