<?php



/**

 * autoload file

 *

 * this file contain autoload function

 *

 * LICENSE: Open source

 *

 * @category   general

 * @package    core system

 * @subpackage parent

 * @copyright  coderg

 * @license    http://coderg.com

 * @version    .01

 * @link       http://coderg.com

 * @since      2018

 */



/**

 * __autoload 

 * 

 * require once the needed .php file 

 *

 * @param  (string) class name      

 * 

 *

 */

function myAutoLoader($class) {



    require_once ($class) . '.php';

}



spl_autoload_register('myAutoLoader');

