code: public function getPathFor(string $name, array $args): string
      {
          return $this->app->getContainer()->get('router')->pathFor($name, $args);
      }
docs: Shortcut for the URL generation of the named route
  with the Slim application router’s pathFor() method
  @param string $name
  @param array $args
  @return string