ChessCorePreload   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A eventCoreIncludeCommonEnd() 0 3 1
1
<?php
2
3
/*
4
 You may not change or alter any portion of this comment or credits
5
 of supporting developers from this source code or any supporting source code
6
 which is considered copyrighted (c) material of the original comment or credit authors.
7
8
 This program is distributed in the hope that it will be useful,
9
 but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
*/
12
13
/**
14
 * @copyright       XOOPS Project (https://xoops.org)
15
 * @license         GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
16
 * @author          XOOPS Project <www.xoops.org> <www.xoops.ir>
17
 */
18
defined('XOOPS_ROOT_PATH') || die('Restricted access.');
19
20
/**
21
 * Class ChessCorePreload
22
 */
23
class ChessCorePreload extends \XoopsPreloadItem
24
{
25
    // to add PSR-4 autoloader
26
    /**
27
     * @param $args
28
     */
29
    public static function eventCoreIncludeCommonEnd($args)
30
    {
31
        require __DIR__ . '/autoloader.php';
32
    }
33
}
34