Interface

Symfony\Component\Config\Resource\ResourceInterface

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.

Return Value

string 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.

Parameters

integer $timestamp The last time the resource was loaded

Return Value

Boolean true if the resource has not been updated, false otherwise

at line 42
public mixed getResource()

Returns the resource tied to this Resource.

Return Value

mixed The resource