The autoloader class for Highlight classes for projects without Composer or autoloaders.

<?php

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

// Now use Highlight classes:
$hl = new \Highlight\Highlighter(...);
  • TODO In v10.x, mark this class final for real
  • api
  • final
  • since 7.5.0.0
CloneableInstantiable
Methods
public static load( $class)
 
The method to include the source file for a given class to use in the PHP spl_autoload_register function.

  • return bool true if the source file was successfully included
Methods
public static load( $class)
 
The method to include the source file for a given class to use in the PHP spl_autoload_register function.

  • return bool true if the source file was successfully included
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only