for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: famoser
* Date: 07/06/2016
* Time: 17:54
*/
namespace Famoser\XKCDCache\Controllers;
use Famoser\XKCDCache\Controllers\Base\FrontendController;
use Slim\Http\Request;
use Slim\Http\Response;
* the public controller displays the index page
*
* @package Famoser\XKCDCache\Controllers
class PublicController extends FrontendController
{
* show basic info about this application
* @param Request $request
* @param Response $response
* @param $args
* @return mixed
public function index(/** @scrutinizer ignore-unused */ Request $request, Response $response, $args)
return $this->renderTemplate($response, 'public/index', $args);
}