ComposerAutoloadincludeFile

Scope isolated include.

Description

Composer\Autoload\includeFile( $file ); 

Prevents access to $this/self from included files.

Parameters (1)

0. $file
The file.

Usage

  1. if ( !function_exists( 'Composer\Autoload\includeFile' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'simple-calendar/vendor/composer/ClassLoader.php'; 
  3.  
  4. // The file. 
  5. $file = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = Composer\Autoload\includeFile($file); 
  9.  

Defined (1)

The function is defined in the following location(s).

/vendor/composer/ClassLoader.php