[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/debug/ -> DebugClassLoader.php (summary)

(no description)

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

Defines 1 class

DebugClassLoader:: (11 methods):
  __construct()
  getClassLoader()
  enable()
  disable()
  findFile()
  loadClass()
  checkClass()
  checkAnnotations()
  checkCase()
  darwinRealpath()
  getOwnInterfaces()


Class: DebugClassLoader  - X-Ref

Autoloader checking if the class is really defined in the file found.

The ClassLoader will wrap all registered autoloaders
and will throw an exception if a file is found but does
not declare the class.

__construct(callable $classLoader)   X-Ref
No description

getClassLoader()   X-Ref
Gets the wrapped class loader.

return: callable The wrapped class loader

enable()   X-Ref
Wraps all autoloaders.


disable()   X-Ref
Disables the wrapping.


findFile($class)   X-Ref

return: string|null

loadClass($class)   X-Ref
Loads the given class or interface.

param: string $class The name of the class

checkClass($class, $file = null)   X-Ref
No description

checkAnnotations(\ReflectionClass $refl, $class)   X-Ref
No description

checkCase(\ReflectionClass $refl, $file, $class)   X-Ref

param: string $file
param: string $class
return: array|null

darwinRealpath($real)   X-Ref
`realpath` on MacOSX doesn't normalize the case of characters.


getOwnInterfaces($class, $parent)   X-Ref
`class_implements` includes interfaces from the parents so we have to manually exclude them.

param: string       $class
param: string|false $parent
return: string[]



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1