PHP Classes

File: src/Autoload.php

Recommend this page to a friend!
  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: 10 years ago
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');