Implement creator studio and upload updates
This commit is contained in:
23
app/Services/Sitemaps/SitemapTarget.php
Normal file
23
app/Services/Sitemaps/SitemapTarget.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Services\Sitemaps;
|
||||
|
||||
final class SitemapTarget
|
||||
{
|
||||
public const TYPE_INDEX = 'index';
|
||||
public const TYPE_URLSET = 'urlset';
|
||||
public const TYPE_GOOGLE_NEWS = 'google-news';
|
||||
|
||||
public function __construct(
|
||||
public readonly string $requestedName,
|
||||
public readonly string $documentName,
|
||||
public readonly string $baseName,
|
||||
public readonly string $type,
|
||||
public readonly SitemapBuilder $builder,
|
||||
public readonly ?int $shardNumber = null,
|
||||
public readonly int $totalShards = 1,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user