path() public method

Adds a path for class autoloading.
public path ( string $dir )
$dir string Directory path
Example #1
0
 function setUp()
 {
     $this->app = new \flight\Engine();
     $this->app->path(__DIR__ . '/classes');
 }