Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
WhenNot.php
function WhenNot::__construct
File
vendor/
symfony/
dependency-injection/
Attribute/
WhenNot.php
, line 22
Class
WhenNot
An attribute to tell under which environment this class should NOT be registered as a service.
Namespace
Symfony\Component\DependencyInjection\Attribute
Code
public
function
__construct
(string
$env
) { }
RSS feed