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

Breadcrumb

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

function InstanceofConfigurator::instanceof

Defines an instanceof-conditional to be applied to following service definitions.

File

vendor/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php, line 46

Class

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

Namespace

Symfony\Component\DependencyInjection\Loader\Configurator

Code

public final function instanceof(string $fqcn) : self {
    return $this->parent
        ->instanceof($fqcn);
}

API Navigation

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