Login   Register  
PHP Classes
elePHPant
Icontem

File: src/Autoload.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sergii Pryz  >  PHP Split CSV  >  src/Autoload.php  >  Download  
File: src/Autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Class source
Class: PHP Split CSV
Split CSV files input multiple parts set by rules
Author: By
Last change:
Date: 2013-12-29 09:31
Size: 364 bytes
 

Contents

Class file image Download
<?php
/**
 * SplitCSV Autoload
 * 
 * @link        https://github.com/picamator/SplitCSV
 * @license     http://opensource.org/licenses/BSD-3-Clause New BSD License
 */

namespace SplitCSV;

function 
Autoload($class)
{    
    include_once (
str_replace('\\'DIRECTORY_SEPARATOR$class).'.php');
}

spl_autoload_register(__NAMESPACE__.'\Autoload');