CountdownCorePreload   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
declare(strict_types=1);
4
5
/*
6
 You may not change or alter any portion of this comment or credits
7
 of supporting developers from this source code or any supporting source code
8
 which is considered copyrighted (c) material of the original comment or credit authors.
9
10
 This program is distributed in the hope that it will be useful,
11
 but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
*/
14
/**
15
 * Module: Countdown
16
 *
17
 * @category        Module
18
 * @package         countdown
19
 * @author          XOOPS Development Team <https://xoops.org>
20
 * @copyright       {@link https://xoops.org/ XOOPS Project}
21
 * @license         GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html)
22
 * @link            https://xoops.org/
23
 * @since           1.0.0
24
 */
25
26
defined('XOOPS_ROOT_PATH') || exit('Restricted access.');
27
28
/**
29
 * Class CountdownCorePreload
30
 */
31
class CountdownCorePreload extends XoopsPreloadItem
32
{
33
    // to add PSR-4 autoloader
34
    /**
35
     * @param $args
36
     */
37
    public static function eventCoreIncludeCommonEnd($args)
38
    {
39
        require __DIR__ . '/autoloader.php';
40
    }
41
}
42