Lines Matching refs:folder
184 $folder = Validator::parsedBody($request)->string('folder');
203 $folder = strtr($folder, ['\\' => '/']);
204 $folder = trim($folder, '/');
205 if ($folder !== '') {
206 $folder .= '/';
210 if ($auto === '1' || $tree->mediaFilesystem()->fileExists($folder . $file)) {
211 $folder = '';
217 … $tree->mediaFilesystem()->writeStream($folder . $file, $uploaded_file->getStream()->detach());
219 return $folder . $file;
277 * @param string $folder Root folder
282 …public function allFilesOnDisk(FilesystemOperator $filesystem, string $folder, bool $subfolders): … argument
286 ->listContents($folder, $subfolders)
392 ->mapWithKeys(static fn (string $folder): array => [$folder => $folder]);