Symfony\Component\Config\Resource\ResourceInterface
ResourceInterface is the interface that must be implemented by all Resource classes.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
interface ResourceInterface
{
- // methods
- public string __toString()
- public Boolean isFresh()
- public mixed getResource()
Methods
public
- __toString() — Returns a string representation of the Resource.
- getResource() — Returns the resource tied to this Resource.
- isFresh() — Returns true if the resource has not been updated since the given timestamp.