| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 238 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ClassExistenceResource:: (7 methods):
__construct()
__toString()
getResource()
isFresh()
serialize()
unserialize()
throwOnRequiredClass()
Class: ClassExistenceResource - X-Ref
ClassExistenceResource represents a class existence.| __construct($resource, $exists = null) X-Ref |
param: string $resource The fully-qualified class name param: bool|null $exists Boolean when the existency check has already been done |
| __toString() X-Ref |
| {@inheritdoc} |
| getResource() X-Ref |
return: string The file path to the resource |
| isFresh($timestamp) X-Ref |
| {@inheritdoc} |
| serialize() X-Ref |
| unserialize($serialized) X-Ref |
| throwOnRequiredClass($class, \Exception $previous = null) X-Ref |
| Throws a reflection exception when the passed class does not exist but is required. A class is considered "not required" when it's loaded as part of a "class_exists" or similar check. This function can be used as an autoload function to throw a reflection exception if the class was not found by previous autoload functions. A previous exception can be passed. In this case, the class is considered as being required totally, so if it doesn't exist, a reflection exception is always thrown. If it exists, the previous exception is rethrown. |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |