Example #1
0
File: tiga.php Project: tonjoo/tiga
function tiga_bootstrap()
{
    require __DIR__ . "/app/bootstrap.php";
    // Setting Container for apps
    $app = new Tiga\Framework\App();
    $app->routerInit();
}
Example #2
0
#!/usr/bin/env php
<?php 
/**
 * Bootstrap $app 
 */
// Setting Container for apps
$app = new Tiga\Framework\App();
$console = $app->getConsole();
$console->registerCommand(new Tiga\Framework\Console\ControllerCommand());
$console->registerCommand(new Tiga\Framework\Console\ModelCommand());
return $console;