bookmarksCount */ public function bookmarksCountPerTag(array $filteringTags = [], ?string $visibility = null): array; /** * Return a list of bookmark matching provided period of time. * It also update directly previous and next date outside of given period found in the datastore. * * @param \DateTimeInterface $from Starting date. * @param \DateTimeInterface $to Ending date. * @param \DateTimeInterface|null $previous (by reference) updated with first created date found before $from. * @param \DateTimeInterface|null $next (by reference) updated with first created date found after $to. * * @return array List of bookmarks matching provided period of time. */ public function findByDate( \DateTimeInterface $from, \DateTimeInterface $to, ?\DateTimeInterface &$previous, ?\DateTimeInterface &$next ): array; /** * Returns the latest bookmark by creation date. * * @return Bookmark|null Found Bookmark or null if the datastore is empty. */ public function getLatest(): ?Bookmark; /** * Creates the default database after a fresh install. */ public function initialize(): void; }