Class Highlight\Autoloader

InheritanceHighlight\Autoloader

The autoloader class for Highlight classes.

Typical usage:

<?php

require_once("Highlight/Autoloader.php"); spl_autoload_register("\Highlight\Autoloader::load");

// Now use Highlight classes: $hl = new Highlighter(...); ... ?>

Public Methods

Hide inherited methods

MethodDescriptionDefined By
load() The method to include the source file for a given class to use in the PHP spl_autoload_register function. Highlight\Autoloader

Method Details

load() public static method

The method to include the source file for a given class to use in the PHP spl_autoload_register function.

public static boolean load ( $class )
$class
return boolean

True if the source file was successfully included.