Attachment/AttachmentHandler.php
protected function generateFileHash(File $file, AttachmentSchema $schema)
    {
        return call_user_func($schema->getHashCallable(), $file->getRealPath());
    }
protected function generateFileHash(File $file, AttachmentSchema $schema)
    {
        return call_user_func($schema->getHashCallable(), $file->getRealPath());
    }
protected function generateFileHash ( File $ file , AttachmentSchema $ schema ) { return call_user_func ( $ schema -> getHashCallable ( ) , $ file -> getRealPath ( ) ) ; }
This generates the actual file hash by calling the hash callable, passing the file path.

@param File $file
@param AttachmentSchema $schema

@return string
This generates the actual file hash by calling the hash callable passing the file path .