public function MockFileFinder::findFile

Implements Doctrine\Common\Reflection\ClassFinderInterface::findFile().

Overrides ClassFinderInterface::findFile

File

drupal/core/lib/Drupal/Component/Reflection/MockFileFinder.php, line 37
Definition of Drupal\Component\Reflection\MockFileFinder.

Class

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

Namespace

Drupal\Component\Reflection

Code

public function findFile($class) {
  return $this->filename;
}