Creates new mock file finder objects.
File
 
   - drupal/core/lib/Drupal/Component/Reflection/MockFileFinder.php, line 44
- 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 static function create($filename) {
  $object = new static(array());
  $object->filename = $filename;
  return $object;
}