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

Breadcrumb

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

class WhenNot

An attribute to tell under which environment this class should NOT be registered as a service.

@author Alexandre Daubois <alex.daubois@gmail.com>

Hierarchy

  • class \Symfony\Component\DependencyInjection\Attribute\WhenNot

Expanded class hierarchy of WhenNot

2 files declare their use of WhenNot
FileLoader.php in vendor/symfony/dependency-injection/Loader/FileLoader.php
PhpFileLoader.php in vendor/symfony/dependency-injection/Loader/PhpFileLoader.php

File

vendor/symfony/dependency-injection/Attribute/WhenNot.php, line 19

Namespace

Symfony\Component\DependencyInjection\Attribute
View source
class WhenNot {
    public function __construct(string $env) {
    }

}

Members

Title Sort descending Modifiers Object type Summary
WhenNot::__construct public function
RSS feed
Powered by Drupal