Example #1
0
<?php

require_once __DIR__ . '/PHPClassic/ClassicLoader.php';
use PHPClassic\ClassicLoader;
ClassicLoader::addPath(__DIR__);
ClassicLoader::register();
Example #2
0
 public function testAddPath()
 {
     $path = realpath(__DIR__ . DIRECTORY_SEPARATOR . '..');
     ClassicLoader::addPath($path);
     $this->assertTrue(in_array($path, ClassicLoader::getPaths()));
 }