AllediaPsr4AutoLoader.php
850 Bytes
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
33
34
35
36
37
38
<?php
/**
* @package AllediaFramework
* @subpackage
* @contact www.alledia.com, support@alledia.com
* @copyright 2016 Alledia.com, All rights reserved
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
use Alledia\Framework\AutoLoader;
defined('_JEXEC') or die();
if (!class_exists('\\Alledia\\Framework\\AutoLoader')) {
require_once __DIR__ . '/Framework/AutoLoader.php';
}
/**
* Class AllediaPsr4AutoLoader
*
* @deprecated See Alledia\Framework\AutoLoader
*/
class AllediaPsr4AutoLoader extends AutoLoader
{
/**
* @param string $prefix
* @param string $baseDir
* @param bool $prepend
*
* @return void
*
* @deprecated
*/
public function addNamespace($prefix, $baseDir, $prepend = false)
{
static::register($prefix, $baseDir, $prepend);
}
}