Add some documenation

This commit is contained in:
Dave Smith-Hayes 2024-11-14 02:07:29 +00:00
parent 7aa1d64994
commit 3edeb9763a

View File

@ -6,6 +6,11 @@ use Slovocast\Domain\Entity\Episode;
use Slovocast\Domain\Entity\Episode\File; use Slovocast\Domain\Entity\Episode\File;
use Slovocast\Domain\RepositoryInterface; use Slovocast\Domain\RepositoryInterface;
/**
* The Episode File repository should consist of getting and setting the data
* about the file stored in the database. The implementation of this class
* should concern itself with the data _about_ the file, not the file itself.
*/
interface EpisodeFileRepositoryInterface extends RepositoryInterface interface EpisodeFileRepositoryInterface extends RepositoryInterface
{ {
public function get(string $location): File; public function get(string $location): File;