Save workspace changes
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Services\Sitemaps;
|
||||
|
||||
use DateTimeInterface;
|
||||
|
||||
interface ShardableSitemapBuilder extends SitemapBuilder
|
||||
{
|
||||
public function totalItems(): int;
|
||||
|
||||
public function shardSize(): int;
|
||||
|
||||
/**
|
||||
* @return list<SitemapUrl>
|
||||
*/
|
||||
public function itemsForShard(int $shard): array;
|
||||
|
||||
public function lastModifiedForShard(int $shard): ?DateTimeInterface;
|
||||
}
|
||||
Reference in New Issue
Block a user