firefly-iii/app/Support/Search/SearchInterface.php
2015-02-27 11:09:23 +01:00

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);
}