Lines Matching refs:path
82 …public function fileResponse(FilesystemOperator $filesystem, string $path, bool $download): Respon… argument
86 $mime_type = $filesystem->mimeType(path: $path);
91 … $filename = $download ? addcslashes(string: basename(path: $path), characters: '"') : '';
93 …return $this->imageResponse(data: $filesystem->read(location: $path), mime_type: $mime_type, filen…
105 string $path, argument
111 $mime_type = $filesystem->mimeType(path: $path);
112 $image = $this->imageManager()->read(input: $filesystem->readStream($path));
124 … ->replacementImageResponse(text: '.' . pathinfo(path: $path, flags: PATHINFO_EXTENSION))
139 $path = $media_file->filename();
142 return $this->fileResponse(filesystem: $filesystem, path: $path, download: $download);
147 $image = $this->imageManager()->read(input: $filesystem->readStream($path));
150 $filename = $download ? basename(path: $path) : '';
156 … return $this->replacementImageResponse(text: pathinfo(path: $path, flags: PATHINFO_EXTENSION))
181 $path = $media_file->filename();
184 $mime_type = $filesystem->mimeType(path: $path);
188 $path,
189 $filesystem->lastModified(path: $path),
196 …$closure = function () use ($filesystem, $path, $width, $height, $fit, $add_watermark, $media_file…
197 $image = $this->imageManager()->read(input: $filesystem->readStream($path));
217 … ->replacementImageResponse(text: '.' . pathinfo(path: $path, flags: PATHINFO_EXTENSION))
300 …ent-disposition', 'attachment; filename="' . addcslashes(string: basename(path: $filename), charac…