interface ResourceInterface
ResourceInterface is the interface that must be implemented by all Resource classes.
Methods
| string |
__toString()
Returns a string representation of the Resource. |
|
| Boolean |
isFresh(integer $timestamp)
Returns true if the resource has not been updated since the given timestamp. |
|
| mixed |
getResource()
Returns the resource tied to this Resource. |
Details
at line 26
public string
__toString()
Returns a string representation of the Resource.
at line 35
public Boolean
isFresh(integer $timestamp)
Returns true if the resource has not been updated since the given timestamp.
at line 42
public mixed
getResource()
Returns the resource tied to this Resource.