You are here

public function ClassFinderInterface::findFile in Drupal 10

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php \Drupal\Component\ClassFinder\ClassFinderInterface::findFile()

Finds a class.

Parameters

string $class: The name of the class.

Return value

string|null The name of the class or NULL if not found.

1 method overrides ClassFinderInterface::findFile()
MockFileFinder::findFile in core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php
Finds a class.

File

core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php, line 19

Class

ClassFinderInterface
Finds a class in a PSR-0 structure.

Namespace

Drupal\Component\ClassFinder

Code

public function findFile($class);