Skip to content

Instantly share code, notes, and snippets.

@guiled
Created December 27, 2013 22:47
Show Gist options
  • Save guiled/8153737 to your computer and use it in GitHub Desktop.
Save guiled/8153737 to your computer and use it in GitHub Desktop.
<?php
namespace Application\Controller {
use Sohoa\Framework\Kit;
class Main extends Kit {
public function indexAction() {
$this->greut->render();
}
}
}
<?php
namespace {
use Sohoa\Framework\Framework;
use Sohoa\Framework\View\Greut;
require_once __DIR__ . '/../vendor/autoload.php';
$framework = new Framework();
$framework->view = new Greut();
$framework->run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment