You are here

public function AccessAwareRouter::__call in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::__call()

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 62

Class

AccessAwareRouter
A router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

public function __call($name, $arguments) {

  // Ensure to call every other function to the router.
  return call_user_func_array([
    $this->router,
    $name,
  ], $arguments);
}