HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/fvr.creativefellows.nl/src/Action/Review/ReviewAction.php
<?php

namespace App\Action\Review;

use App\Action\Action;
use App\Domain\Reviews\Service\ReviewReader;

use Psr\Http\Message\ResponseInterface;
use Psr\Container\ContainerInterface;

final class ReviewAction extends Action
{	
	
    protected $container;	
	protected $reviews;	
	
    public function __construct(
		ContainerInterface $container, 
		ReviewReader $reviews
		
	) {
        $this->container = $container;
        $this->reviews = $reviews;
    }
	
    public function action() : ResponseInterface
	{
		$reviews = $this->reviews->get(5);

		return $this->respond($reviews);
		
    }
		
		
}