Skip to content

Instantly share code, notes, and snippets.

@dhrrgn
Created March 28, 2014 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhrrgn/9837780 to your computer and use it in GitHub Desktop.
Save dhrrgn/9837780 to your computer and use it in GitHub Desktop.
<?php
use Orno\Http\Request;
use Orno\Http\Response;
class Controller
{
public function __construct(Request $request)
{
$this->request = $request;
}
public function hello()
{
return new Response('Hello World!');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment