19 lines
412 B
PHP
19 lines
412 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Services\EarlyGrowth;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Contract for spotlight / curated content selection.
|
|
* Allows test doubles and alternative implementations.
|
|
*/
|
|
interface SpotlightEngineInterface
|
|
{
|
|
public function getSpotlight(int $limit = 6): Collection;
|
|
|
|
public function getCurated(int $limit = 12, int $olderThanDays = 7): Collection;
|
|
}
|