<?php
/**
* Main include file of the type hint class library.
* @package typehintclass
*/
/**
* Autoload function for type hint class library.
* @access private
* @param string $className The name of the class to be loaded
*/
function autoload_typehintclass_lib($className) {
$filename = dirname(__FILE__) . '/' . $className . '.php';
if (file_exists($filename)) {
require_once $filename;
return true;
}
return false;
}
spl_autoload_register('autoload_typehintclass_lib');
TypeHintHandler::setUp();
?>
|