[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/ -> Autoload.php (summary)

Autoloader for Requests for PHP. Include this file if you'd like to avoid having to create your own autoloader.

File Size: 187 lines (9 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  register()
  load()

Functions
Functions that are not part of a class:

register()   X-Ref
Register the autoloader.

Note: the autoloader is *prepended* in the autoload queue.
This is done to ensure that the Requests 2.0 autoloader takes precedence
over a potentially (dependency-registered) Requests 1.x autoloader.

return: void

load($class_name)   X-Ref
Autoloader.

return: bool Whether a class was loaded or not.
param: string $class_name Name of the class name to load.



Generated : Mon Apr 29 08:20:01 2024 Cross-referenced by PHPXref