[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/config/Resource/ -> ResourceInterface.php (summary)

(no description)

File Size: 58 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ResourceInterface:: (3 methods):
  __toString()
  isFresh()
  getResource()


Interface: ResourceInterface  - X-Ref

ResourceInterface is the interface that must be implemented by all Resource classes.

__toString()   X-Ref
Returns a string representation of the Resource.

This method is necessary to allow for resource de-duplication, for example by means
of array_unique(). The string returned need not have a particular meaning, but has
to be identical for different ResourceInterface instances referring to the same
resource; and it should be unlikely to collide with that of other, unrelated
resource instances.

return: string A string representation unique to the underlying Resource

isFresh($timestamp)   X-Ref
Returns true if the resource has not been updated since the given timestamp.

param: int $timestamp The last time the resource was loaded
return: bool True if the resource has not been updated, false otherwise

getResource()   X-Ref
Returns the tied resource.

return: mixed The resource



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1