2015-02-27 04:09:23 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FireflyIII\Support\Search;
|
|
|
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface SearchInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Support\Search
|
|
|
|
*/
|
2015-03-29 14:27:51 -05:00
|
|
|
interface SearchInterface
|
|
|
|
{
|
2015-02-27 04:09:23 -06:00
|
|
|
/**
|
|
|
|
* @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);
|
2015-03-29 01:14:32 -05:00
|
|
|
}
|