firefly-iii/app/Support/Search/SearchInterface.php

51 lines
918 B
PHP
Raw Normal View History

2015-02-27 04:09:23 -06:00
<?php
2016-02-05 05:08:25 -06:00
declare(strict_types = 1);
2015-02-27 04:09:23 -06:00
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
*/
2016-02-06 03:15:07 -06:00
public function searchAccounts(array $words): Collection;
2015-02-27 04:09:23 -06:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 03:15:07 -06:00
public function searchBudgets(array $words): Collection;
2015-02-27 04:09:23 -06:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 03:15:07 -06:00
public function searchCategories(array $words): Collection;
2015-02-27 04:09:23 -06:00
/**
*
* @param array $words
*
* @return Collection
*/
2016-02-06 03:15:07 -06:00
public function searchTags(array $words): Collection;
2015-02-27 04:09:23 -06:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 03:15:07 -06:00
public function searchTransactions(array $words): Collection;
2015-03-29 01:14:32 -05:00
}