Skip to content

Instantly share code, notes, and snippets.

@aasumitro
Created February 5, 2018 09:00
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 aasumitro/8dd08d33229e7ec798df7f7728bbc4ec to your computer and use it in GitHub Desktop.
Save aasumitro/8dd08d33229e7ec798df7f7728bbc4ec to your computer and use it in GitHub Desktop.
app controllers TestController.php slim 3
<?php
namespace App\Controllers;
class TestController extends Controller {
public function index($request, $response) {
$response->getBody()->write("Hello Slim With Controller");
return $response;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment