File: autoload.tests.php.tpl

package info (click to toggle)
doctrine 3.5.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,536 kB
  • sloc: php: 109,324; xml: 1,340; makefile: 35
file content (32 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (2)
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
32
<?php

// Require
require_once 'Doctrine/ORM/autoload.php';

// Suggest

// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
spl_autoload_register(
    function($class) {
        static $classes = null;
        if ($classes === null) {
            $classes = array(
                'doctrine\\tests\\models\\ddc3597\\ddc3597image' => '/../tests/Tests/Models/DDC3597/DDC3597Image.php',
                'doctrine\\tests\\models\\ddc4006\\ddc4006user' => '/../tests/Tests/Models/DDC4006/DDC4006User.php',
                'doctrine\\tests\\models\\enums\\product' => '/../tests/Tests/Models/Enums/Product.php',
                'doctrine\\tests\\orm\\mapping\\mappingdrivertestcase' => '/../tests/Tests/ORM/Mapping/MappingDriverTestCase.php',
                ___CLASSLIST___
            );
        }
        $cn = strtolower($class);
        if (isset($classes[$cn])) {
            require ___BASEDIR___$classes[$cn];
        }
    },
    ___EXCEPTION___,
    ___PREPEND___
);
// @codeCoverageIgnoreEnd

// Files