Currently it is not possible to override the HashService with another class.

CommentFileSizeAuthor
#2 3014229_override_hash_service.patch3.42 KBR.Muilwijk

Comments

R.Muilwijk created an issue. See original summary.

R.Muilwijk’s picture

StatusFileSize
new3.42 KB
paulvandenburg’s picture

Status: Needs review » Reviewed & tested by the community

Looks good and works fine.
It would've been nice if the phpdocs were improved. Because anyone could've guessed that a getHash function returns a hash. But would an outsider know what that hash is needed for, or what use cases should make the hash unique?

But that is not what this issue is about so I'll mark it RTBC.

marty2081’s picture

Thanks for the patch. I will commit it. I've tried to clarify the HashService purpose a bit.

marty2081’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.