$file->hash()

Returns an md5 hash for the root of the file

  • return (string)

Example

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