function ControllerResolver::getClassMethodsWithoutMagicMethods
1 call to ControllerResolver::getClassMethodsWithoutMagicMethods()
- ControllerResolver::getControllerError in vendor/
symfony/ http-kernel/ Controller/ ControllerResolver.php
File
-
vendor/
symfony/ http-kernel/ Controller/ ControllerResolver.php, line 217
Class
- ControllerResolver
- This implementation uses the '_controller' request attribute to determine the controller to execute.
Namespace
Symfony\Component\HttpKernel\ControllerCode
private function getClassMethodsWithoutMagicMethods($classOrObject) : array {
$methods = get_class_methods($classOrObject);
return array_filter($methods, fn(string $method) => 0 !== strncmp($method, '__', 2));
}