PHP Classes

File: config/spout/src/Spout/Autoloader/autoload.php

Recommend this page to a friend!
  Classes of Parag Yelonde  >  PHP MySQL Manager  >  config/spout/src/Spout/Autoloader/autoload.php  >  Download  
File: config/spout/src/Spout/Autoloader/autoload.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP MySQL Manager
Perform common MySQL database access operations
Author: By
Last change:
Date: 1 year ago
Size: 347 bytes
 

Contents

Class file image Download
<?php

namespace Box\Spout\Autoloader;

require_once
'Psr4Autoloader.php';

/**
 * @var string $srcBaseDirectory
 * Full path to "src/Spout" which is what we want "Box\Spout" to map to.
 */
$srcBaseDirectory = dirname(dirname(__FILE__));

$loader = new Psr4Autoloader();
$loader->register();
$loader->addNamespace('Box\Spout', $srcBaseDirectory);

For more information send a message to info at phpclasses dot org.