ClassFinderInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Component\ClassFinderFile
core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.phpView source
<?php
namespace Drupal\Component\ClassFinder;
/**
* Finds a class in a PSR-0 structure.
*/
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);
}
Interfaces
Name | Description |
---|---|
ClassFinderInterface | Finds a class in a PSR-0 structure. |