[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

ClassExistenceResource:: (7 methods):
  __construct()
  __toString()
  getResource()
  isFresh()
  serialize()
  unserialize()
  throwOnRequiredClass()


Class: ClassExistenceResource  - X-Ref

ClassExistenceResource represents a class existence.
Freshness is only evaluated against resource existence.

The resource must be a fully-qualified class name.

__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: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1