mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 13:44:58 -06:00
30 lines
528 B
PHP
30 lines
528 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Helper\Related;
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface RelatedInterface
|
|
*
|
|
* @package FireflyIII\Helper\Related
|
|
*/
|
|
interface RelatedInterface
|
|
{
|
|
|
|
/**
|
|
* @param string $query
|
|
* @param \TransactionJournal $journal
|
|
*
|
|
* @return Collection
|
|
*/
|
|
public function search($query, \TransactionJournal $journal);
|
|
|
|
/**
|
|
* @param array $objectIds
|
|
*
|
|
* @return Collection
|
|
*/
|
|
public function getJournalsByIds(array $objectIds);
|
|
|
|
}
|