Save workspace changes
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user