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

Breadcrumb

  1. Drupal Core 11.1.x

ClassFinderInterface.php

Namespace

Drupal\Component\ClassFinder

File

core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php

View 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

Title Deprecated Summary
ClassFinderInterface Finds a class in a PSR-0 structure.
RSS feed
Powered by Drupal