File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/framework/src/Foundation Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ public function relativeLink(string $destination): string
2323 return $ this ->hyperlinks ->relativeLink ($ destination );
2424 }
2525
26+ /** @deprecated Use Hyde::asset() instead. */
2627 public function mediaLink (string $ destination ): string
2728 {
2829 return $ this ->hyperlinks ->mediaLink ($ destination );
Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ public function relativeLink(string $destination): string
9090 /**
9191 * Gets a relative web link to the given file stored in the _site/media folder.
9292 *
93+ * @deprecated Use Hyde::asset() instead.
94+ *
9395 * An exception will be thrown if the file does not exist in the _media directory,
9496 * and the second argument is set to true.
9597 */
You can’t perform that action at this time.
0 commit comments