-
Elise Moreau authoredElise Moreau authored
ListLocalisationsAction.php 470 B
<?php
declare(strict_types=1);
namespace App\Application\Actions\Localisation;
use Psr\Http\Message\ResponseInterface as Response;
class ListLocalisationsAction extends LocalisationAction
{
/**
* {@inheritdoc}
*/
protected function action(): Response
{
$localisation = $this->localisationRepository->findAll();
$this->logger->info("Localisation list was viewed.");
return $this->respondWithData($localisation);
}
}