$file->hash()

Returns an md5 hash for the root of the file

  • return (string)

Example

<?= $page->file('myfile.pdf')->hash() ?>