Skip to content

Instantly share code, notes, and snippets.

@kocsismate
Created April 27, 2023 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kocsismate/b457f8fef074039b58fbee9121d05e92 to your computer and use it in GitHub Desktop.
Save kocsismate/b457f8fef074039b58fbee9121d05e92 to your computer and use it in GitHub Desktop.
Calling ReflectionMethod::__construct() with 1 argument
Targets
Occurrences of 'new \\*ReflectionMethod' in Directory popular-package-analysis with mask '*.php'
popular-package-analysis (13 usages found)
sources/johnpbloch/wordpress-core/wp-admin/includes (1 usage found)
template.php (1 usage found)
1244 $reflection = new ReflectionMethod( $callback );
sources/laminas/laminas-hydrator/src/Filter (2 usages found)
NumberOfParameterFilter.php (1 usage found)
34 : new ReflectionMethod($property);
OptionalParametersFilter.php (1 usage found)
49 : new ReflectionMethod($property);
sources/latte/latte/src/Latte (1 usage found)
Helpers.php (1 usage found)
49 return new \ReflectionMethod($callable);
sources/lstrojny/functional-php/src/Functional (1 usage found)
Curry.php (1 usage found)
33 $reflection = new ReflectionMethod($function);
sources/nette/di/src/DI (1 usage found)
DependencyChecker.php (1 usage found)
148 $method = new ReflectionMethod($name);
sources/nette/utils/src/Utils (3 usages found)
Callback.php (1 usage found)
97 return new \ReflectionMethod($callable);
Reflection.php (2 usages found)
103 && ($m = new \ReflectionMethod($alias))
128 return $res ?? $res = (bool) (new \ReflectionMethod(__METHOD__))->getDocComment();
sources/roots/wordpress-no-content/wp-admin/includes (1 usage found)
template.php (1 usage found)
1244 $reflection = new ReflectionMethod( $callback );
sources/symfony/framework-bundle/Console/Descriptor (1 usage found)
TextDescriptor.php (1 usage found)
563 $r = new \ReflectionMethod($controller);
sources/symfony/http-kernel/Event (1 usage found)
ControllerEvent.php (1 usage found)
73 $this->controllerReflector = new \ReflectionMethod($controller);
sources/yajra/laravel-datatables-oracle/src/Utilities (1 usage found)
Helper.php (1 usage found)
77 $reflection = new ReflectionMethod($callable);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment