Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RoutingConfigurator.php

function RoutingConfigurator::withPath

File

vendor/symfony/routing/Loader/Configurator/RoutingConfigurator.php, line 67

Class

RoutingConfigurator
@author Nicolas Grekas <p@tchwork.com>

Namespace

Symfony\Component\Routing\Loader\Configurator

Code

public final function withPath(string $path) : static {
    $clone = clone $this;
    $clone->path = $clone->file = $path;
    return $clone;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal