public function AccessAwareRouter::__call

public AccessAwareRouter::__call($name, $arguments)

File

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

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 chained router.
  // @todo Sadly does the ChainRouter not implement an interface in CMF.
  return call_user_func_array([$this->chainRouter, $name], $arguments);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!AccessAwareRouter.php/function/AccessAwareRouter::__call/8.1.x