mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
26 lines
594 B
PHP
26 lines
594 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
interface MediaModelFactoryDescriptor
|
|
{
|
|
public function activityMarkerKeyName(): string;
|
|
|
|
public function activityMarkerLogicalKeyName(): string;
|
|
|
|
public function typeParamMap(): array;
|
|
|
|
public function statusParamMap(): array;
|
|
|
|
public function hasRatingParam(): bool;
|
|
|
|
public function mediaName(): string;
|
|
|
|
public function genreQueryBuilder(): Builder;
|
|
|
|
public function genreFactory(?int $count = null, $state = []): Factory;
|
|
}
|