File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 3636 * @method static string sitePath(string $path = '')
3737 * @method static string formatLink(string $destination)
3838 * @method static string relativeLink(string $destination)
39- * @method static string mediaLink(string $destination, bool $validate = false)
4039 * @method static string asset(string $name)
4140 * @method static string url(string $path = '')
4241 * @method static Route|null route(string $key)
Original file line number Diff line number Diff line change 44
55namespace Hyde \Support ;
66
7+ use Hyde \Foundation \HydeKernel ;
78use JetBrains \PhpStorm \Deprecated ;
89use Hyde \Support \Filesystem \MediaFile ;
910
@@ -35,4 +36,9 @@ public static function siteMediaPath(string $path = ''): string
3536 {
3637 return MediaFile::outputPath ($ path );
3738 }
39+
40+ public static function mediaLink (string $ destination , bool $ validate = false ): string
41+ {
42+ return HydeKernel::getInstance ()->mediaLink ($ destination , $ validate );
43+ }
3844}
You can’t perform that action at this time.
0 commit comments