/**
* Get the file at the given path.
*/
- public function get(string $path): bool
+ public function get(string $path): ?string
{
return $this->filesystem->get($this->adjustPathForDisk($path));
}
*/
public function mimeType(string $path): string
{
+ $path = $this->adjustPathForDisk($path);
return $this->filesystem instanceof FilesystemAdapter ? $this->filesystem->mimeType($path) : '';
}
*/
public function response(string $path): StreamedResponse
{
- return $this->filesystem->response($path);
+ return $this->filesystem->response($this->adjustPathForDisk($path));
}
/**