ComposerAutoloadincludeFile
Scope isolated include.
Description
Composer\Autoload\includeFile( $file );
Prevents access to $this
/self from included files.
Parameters (1)
- 0. $file
- The file.
Usage
if ( !function_exists( 'Composer\Autoload\includeFile' ) ) { require_once ABSPATH . PLUGINDIR . 'google-analytics-by-yoast/vendor/composer/ClassLoader.php'; } // The file. $file = null; // NOTICE! Understand what this does before running. $result = Composer\Autoload\includeFile($file);
Defined (1)
The function is defined in the following location(s).
- /vendor/composer/ClassLoader.php
- function includeFile($file)
- {
- include $file;
- }