123movies-seo/app/Services/Data/Contracts/NewsProviderInterface.php

18 lines
305 B
PHP
Raw Permalink Normal View History

2024-08-24 23:08:42 +03:00
<?php
namespace App\Services\Data\Contracts;
use Illuminate\Support\Collection;
interface NewsProviderInterface
{
/**
* @return Collection
*/
public function getArticles(int $limit = 10);
/**
* @return Collection
*/
public function getSingleArticle(string $slug);
}