interface ClassFinderInterface
Same name in other branches
- 9 core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php \Drupal\Component\ClassFinder\ClassFinderInterface
- 11.x core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php \Drupal\Component\ClassFinder\ClassFinderInterface
Finds a class in a PSR-0 structure.
Hierarchy
- interface \Drupal\Component\ClassFinder\ClassFinderInterface
Expanded class hierarchy of ClassFinderInterface
All classes that implement ClassFinderInterface
1 file declares its use of ClassFinderInterface
- MockFileFinder.php in core/
lib/ Drupal/ Component/ Annotation/ Reflection/ MockFileFinder.php
File
-
core/
lib/ Drupal/ Component/ ClassFinder/ ClassFinderInterface.php, line 8
Namespace
Drupal\Component\ClassFinderView source
interface ClassFinderInterface {
/**
* Finds a class.
*
* @param string $class
* The name of the class.
*
* @return string|null
* The name of the class or NULL if not found.
*/
public function findFile($class);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ClassFinderInterface::findFile | public | function | Finds a class. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.