- trop de trucs d'un coup... je vais faire attention ensuite ^^'

This commit is contained in:
Jérémy Guillot
2024-06-10 13:57:50 +02:00
parent 9595831aa3
commit c46e1a0a5c
69 changed files with 4004 additions and 385 deletions

View File

@@ -0,0 +1,9 @@
<?php
namespace App\Interface;
interface ClientInterface
{
public function get(string $endpoint, array $params = []): array;
public function post(string $endpoint, array $data): array;
}

View File

@@ -0,0 +1,11 @@
<?php
namespace App\Interface;
use App\Entity\Manga;
interface ContentProviderInterface
{
public function getAvailableContent(Manga $manga): array;
public function getContent(Manga $manga): array;
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Interface;
use Doctrine\Common\Collections\Collection;
interface MetadataProviderInterface
{
public function search(string $title): Collection;
}