$file->url()
Returns the Url
$file->url(): string
Return type
string
Parent class
Example
if($file = $page->file('myimage.jpg')) {
echo $file->url();
}
Returns the Url
$file->url(): string
string
if($file = $page->file('myimage.jpg')) {
echo $file->url();
}