File: /var/www/vhosts/creativefellows.nl/firstbrick.creativefellows.nl/src/Action/Cache/CacheAction.php
<?php
namespace App\Action\Cache;
use App\Action\Action;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Container\ContainerInterface;
use Slim\Views\PhpRenderer;
final class CacheAction extends Action
{
protected $container;
protected $responder;
public function __construct(
ContainerInterface $container,
PhpRenderer $responder
) {
$this->container = $container;
$this->responder = $responder;
}
public function action() : ResponseInterface
{
// return
return $this->responder->render($this->response,"cache.php");
}
}