mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-18 08:55:04 -05:00
48 lines
830 B
PHP
48 lines
830 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace FireflyIII\Support\Search;
|
||
|
|
|
||
|
|
use Illuminate\Support\Collection;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Interface SearchInterface
|
||
|
|
*
|
||
|
|
* @package FireflyIII\Support\Search
|
||
|
|
*/
|
||
|
|
interface SearchInterface {
|
||
|
|
/**
|
||
|
|
* @param array $words
|
||
|
|
*
|
||
|
|
* @return Collection
|
||
|
|
*/
|
||
|
|
public function searchAccounts(array $words);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param array $words
|
||
|
|
*
|
||
|
|
* @return Collection
|
||
|
|
*/
|
||
|
|
public function searchBudgets(array $words);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param array $words
|
||
|
|
*
|
||
|
|
* @return Collection
|
||
|
|
*/
|
||
|
|
public function searchCategories(array $words);
|
||
|
|
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @param array $words
|
||
|
|
*
|
||
|
|
* @return Collection
|
||
|
|
*/
|
||
|
|
public function searchTags(array $words);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param array $words
|
||
|
|
*
|
||
|
|
* @return Collection
|
||
|
|
*/
|
||
|
|
public function searchTransactions(array $words);
|
||
|
|
}
|