You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/framework/src/Support/Filesystem/MediaFile.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,18 +47,18 @@ public function __construct(string $path)
47
47
$this->hash = $this->findHash();
48
48
}
49
49
50
-
/** @return \Illuminate\Support\Collection<string, \Hyde\Support\Filesystem\MediaFile> The array keys are the filenames relative to the _media/ directory */
51
-
publicstaticfunctionall(): Collection
52
-
{
53
-
return Hyde::assets();
54
-
}
55
-
56
50
/** @return array<string> Array of filenames relative to the _media/ directory */
57
51
publicstaticfunctionfiles(): array
58
52
{
59
53
returnstatic::all()->keys()->all();
60
54
}
61
55
56
+
/** @return \Illuminate\Support\Collection<string, \Hyde\Support\Filesystem\MediaFile> The array keys are the filenames relative to the _media/ directory */
57
+
publicstaticfunctionall(): Collection
58
+
{
59
+
return Hyde::assets();
60
+
}
61
+
62
62
/**
63
63
* Get the absolute path to the media source directory, or a file within it.
0 commit comments