b4x

Homepage.php

<?php
/**
 * @author Michell `b4x` Hoduń <[email protected]>
 * @link   https://github.com/b44x
 */
class Homepage extends Controller
{
   /**
    * Show this class :D
    *
    * @param Request $request
    * @return Response
    */
   public function index(Request $request) : Response
   {
      $headers  = new Headers(['Content-Type' => 'text/html']);
      $response = new Response(200, $headers);

      return $response->write('Hello world!');
   }
}

My projects @ github


Store / Plugins / Tools

About Me

Name: Michell Hoduń

E-mail: [email protected]