You are here

public function MockFileFinder::findFile in Drupal 8

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

File

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

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;
}