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

Breadcrumb

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

function ParameterCollection::get

Throws

ParameterDoesNotExistException

File

vendor/phpunit/phpunit/src/Runner/Extension/ParameterCollection.php, line 45

Class

ParameterCollection
@psalm-immutable

Namespace

PHPUnit\Runner\Extension

Code

public function get(string $name) : string {
    if (!$this->has($name)) {
        throw new ParameterDoesNotExistException($name);
    }
    return $this->parameters[$name];
}

API Navigation

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