Created
February 5, 2018 09:00
-
-
Save aasumitro/8dd08d33229e7ec798df7f7728bbc4ec to your computer and use it in GitHub Desktop.
app controllers TestController.php slim 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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