Feature #34177

Make Resource use with file operations easier

Added by Karsten Dambekalns over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Resource
Start date:
2012-02-22
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

To use a Resource with file operations, one can use the resource://… scheme and the __toString() method of any ResourcePointer.

To make this a little easier, casting of Resource to string should return the SHA1 (as is the case with the ResourcePointer already). A getUri() method to return a ready to use resource://… string would also be useful.

Also available in: Atom PDF