File: autoload.php.tpl

package info (click to toggle)
php-parser 5.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 4,532 kB
  • sloc: php: 23,585; yacc: 1,272; makefile: 39; sh: 8
file content (31 lines) | stat: -rw-r--r-- 1,376 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
    function($class) {
        static $classes = null;
        if ($classes === null) {
            $classes = array(
                'phpparser\\node\\expr\\closureuse' => '/Node/Expr/ClosureUse.php',
                'phpparser\\node\\expr\\arrayitem' => '/Node/Expr/ArrayItem.php',
                'phpparser\\node\\stmt\\staticvar' => '/Node/Stmt/StaticVar.php',
                'phpparser\\node\\scalar\\dnumber' => '/Node/Scalar/DNumber.php',
                'phpparser\\node\\scalar\\lnumber' => '/Node/Scalar/LNumber.php',
                'phpparser\\node\\scalar\\encapsedstringpart' => '/Node/Scalar/EncapsedStringPart.php',
                'phpparser\\node\\scalar\\encapsed' => '/Node/Scalar/Encapsed.php',
                'phpparser\\node\\stmt\\declaredeclare' => '/Node/Stmt/DeclareDeclare.php',
                'phpparser\\node\\stmt\\propertyproperty' => '/Node/Stmt/PropertyProperty.php',
                'phpparser\\node\\stmt\\useuse' => '/Node/Stmt/UseUse.php',
                ___CLASSLIST___
            );
        }
        $cn = strtolower($class);
        if (isset($classes[$cn])) {
            require ___BASEDIR___$classes[$cn];
        }
    },
    ___EXCEPTION___,
    ___PREPEND___
);
// @codeCoverageIgnoreEnd