This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Autoloader which loads Classes, Interfaces and Traits | |
* Expects that Traits are named xy.trait.php and | |
* Classes/Interfaces are named xy.class.php | |
* | |
* Needs the following defined constants to work: | |
* TRAITS_PATH -> Path to the directory containing traits | |
* TRAIT_NAMES -> Whitelist for traits |