Composer\Autoload
ClassLoader::initializeIncludeClosure()
Method of the class: ClassLoader{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = ClassLoader::initializeIncludeClosure();
ClassLoader::initializeIncludeClosure() ClassLoader::initializeIncludeClosure code WPSCache 1.12.4
private static function initializeIncludeClosure() { if (self::$includeFile !== null) { return; } /** * Scope isolated include. * * Prevents access to $this/self from included files. * * @param string $file * @return void */ self::$includeFile = \Closure::bind(static function($file) { include $file; }, null, null); }