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

Breadcrumb

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

function MockFileFinder::findFile

Overrides ClassFinderInterface::findFile

File

core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php, line 27

Class

MockFileFinder
Defines a mock file finder that only returns a single filename.

Namespace

Drupal\Component\Annotation\Reflection

Code

public function findFile($class) {
    return $this->filename;
}
RSS feed
Powered by Drupal