You are here

public function RouteWrapper::__call in Drupal 7 to 8/9 Module Upgrader 8

Forwards unknown function calls to the wrapped Route.

File

src/Routing/Drupal8/RouteWrapper.php, line 59

Class

RouteWrapper
Wraps around a Symfony Route object, providing helper methods.

Namespace

Drupal\drupalmoduleupgrader\Routing\Drupal8

Code

public function __call($method, array $arguments) {
  return call_user_func_array([
    $this->route,
    $method,
  ], $arguments);
}