Symfony\Component\Config\Resource\FileResource
FileResource represents a resource stored on the filesystem.
The resource can be a file or a directory.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class FileResource
implements
ResourceInterface,Serializable
{
- // members
- private $resource;
- // methods
- public void __construct()
- public string __toString()
- public mixed getResource()
- public Boolean isFresh()
- public void serialize()
- public void unserialize()
Hierarchy
Members
private
- $resource
Methods
public
- __construct() — Constructor.
- __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.
- serialize()
- unserialize()