Skip to content

Commit

Permalink
ensure get_last_modified_date method is applied within adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
manewc committed Oct 7, 2024
1 parent f54af24 commit e7e8ce0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/interfaces/adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
*/
interface Adapter {

/**
* Fetches the date of the last modification to the last batch of videos.
*
* @return ?DateTimeImmutable
*/
public function get_last_modified_date(): ?DateTimeImmutable;

/**
* Fetches videos from the provider that were modified after the provided DateTime.
*
Expand Down

0 comments on commit e7e8ce0

Please sign in to comment.