| 12345678910111213141516171819202122232425262728293031323334353637 | <?php/*|--------------------------------------------------------------------------| Your Application's PHP classes auto-loading|| All classes in PIMF are statically mapped. It's just a simple array of| class to file path maps for ultra-fast file loading.|--------------------------------------------------------------------------*/spl_autoload_register(  function ($class) {    // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-    // FEEL FREE TO CHANGE THE MAPPINGS AND DIRECTORIES    // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-    /**     * The mappings from class names to file paths.     */    static $mappings = array(      'Vanilla\\Controller\\Hello'   => '/Vanilla/Controller/Hello.php',      'Vanilla\\DataMapper\\Fortune' => '/Vanilla/DataMapper/Fortune.php',      'Vanilla\\DataMapper\\World'   => '/Vanilla/DataMapper/World.php',    );    // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-    //  END OF USER CONFIGURATION!!!    // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-    // load the class from the static heap of classes.    if (isset($mappings[$class])) {      return require __DIR__ . DIRECTORY_SEPARATOR . $mappings[$class];    }    return false;  });
 |