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

Breadcrumb

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

function RoutingConfigurator::env

Get the current environment to be able to write conditional configuration.

File

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

Class

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

Namespace

Symfony\Component\Routing\Loader\Configurator

Code

public final function env() : ?string {
    return $this->env;
}

API Navigation

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