Finder
class Finder implements FinderInterface (View source)
Properties
protected AggregateFilesystemInterface | $filesystem | ||
protected string[] | $filesystemsToCheck | ||
protected Image | $defaultImage |
Methods
__construct(AggregateFilesystemInterface $filesystem, array $filesystemsToCheck, Image $defaultImage)
Finder constructor.
Image
find(string $path)
Searches the filesystem for the image based on the path, or returns the default image if not found.