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

Breadcrumb

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

function ContainerBag::has

Overrides ParameterBag::has

File

vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php, line 36

Class

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

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function has(string $name) : bool {
    return $this->container
        ->hasParameter($name);
}

API Navigation

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