AspireSync/tests/Stubs/MetadataServiceStub.php
Chuck Adams 407a746e60
AspireSync 2.0 (#47)
* zap: rm download commands and related services

* zap: rm list state tracking services except SubversionService (but currently unused)

* zap: rm unused db tables and related resources

* refactor: reorganize CLI commands and options hopefully for the last time

* tweak: rm port mappings from docker-compose.yml.  use docker-compose.override.yml if you need that.

* feat: archival-related svn scripts

* doc: update README with some roadmappy verbiage
2025-02-15 08:59:19 -07:00

41 lines
704 B
PHP

<?php
declare(strict_types=1);
namespace App\Tests\Stubs;
use App\Services\Metadata\MetadataServiceInterface;
use Generator;
class MetadataServiceStub implements MetadataServiceInterface
{
public function exportAllMetadata(): Generator
{
yield from [];
}
public function save(array $metadata): void
{
// de nada
}
public function getStatus(string $slug): ?string
{
return 'open';
}
public function getPulledAfter(int $timestamp): array
{
return [];
}
public function getCheckedAfter(int $timestamp): array
{
return [];
}
public function getAllSlugs(): array
{
return [];
}
}