Home
last modified time | relevance | path

Searched refs:functionOrMethod (Results 1 – 1 of 1) sorted by relevance

/plugin/findologicxmlexport/vendor/sebastian/code-unit-reverse-lookup/src/
H A DWizard.php91 private function processFunctionOrMethod(\ReflectionFunctionAbstract $functionOrMethod) argument
93 if ($functionOrMethod->isInternal()) {
97 $name = $functionOrMethod->getName();
99 if ($functionOrMethod instanceof \ReflectionMethod) {
100 $name = $functionOrMethod->getDeclaringClass()->getName() . '::' . $name;
103 if (!isset($this->lookupTable[$functionOrMethod->getFileName()])) {
104 $this->lookupTable[$functionOrMethod->getFileName()] = [];
107 … foreach (range($functionOrMethod->getStartLine(), $functionOrMethod->getEndLine()) as $line) {
108 $this->lookupTable[$functionOrMethod->getFileName()][$line] = $name;