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

Breadcrumb

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

function ClassMap::getClassPath

Parameters

class-string $className:

Return value

non-empty-string

File

vendor/composer/class-map-generator/src/ClassMap.php, line 131

Class

ClassMap
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\ClassMapGenerator

Code

public function getClassPath(string $className) : string {
    if (!isset($this->map[$className])) {
        throw new \OutOfBoundsException('Class ' . $className . ' is not present in the map');
    }
    return $this->map[$className];
}

API Navigation

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