Refatoring : Working state

This commit is contained in:
julien
2026-03-16 16:02:01 +01:00
parent a5ca0df375
commit 0453697cd3
25 changed files with 111 additions and 97 deletions

View File

@@ -11,6 +11,12 @@ use App\Shared\Exception\NotFoundException;
use App\Shared\Html\HtmlSanitizerInterface;
use App\Shared\Pagination\PaginatedResult;
/**
* Service applicatif du domaine Post.
*
* Orchestre la lecture, la recherche et la persistance des articles, ainsi que
* la sanitisation HTML et la génération de slugs uniques.
*/
class PostApplicationService implements PostServiceInterface
{
public function __construct(

View File

@@ -3,6 +3,9 @@ declare(strict_types=1);
namespace App\Post;
/**
* Contrat de persistance du domaine Post.
*/
interface PostRepositoryInterface
{
/** @return Post[] */

View File

@@ -6,6 +6,9 @@ namespace App\Post;
use App\Shared\Exception\NotFoundException;
use App\Shared\Pagination\PaginatedResult;
/**
* Contrat applicatif du domaine Post.
*/
interface PostServiceInterface
{
/** @return Post[] */