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

59 lines
1.1 KiB
PHP
Raw Normal View History

2015-02-27 11:09:23 +01:00
<?php
/**
* SearchInterface.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
2016-02-05 12:08:25 +01:00
declare(strict_types = 1);
2015-02-27 11:09:23 +01:00
namespace FireflyIII\Support\Search;
use Illuminate\Support\Collection;
/**
* Interface SearchInterface
*
* @package FireflyIII\Support\Search
*/
2015-03-29 21:27:51 +02:00
interface SearchInterface
{
2015-02-27 11:09:23 +01:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 10:15:07 +01:00
public function searchAccounts(array $words): Collection;
2015-02-27 11:09:23 +01:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 10:15:07 +01:00
public function searchBudgets(array $words): Collection;
2015-02-27 11:09:23 +01:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 10:15:07 +01:00
public function searchCategories(array $words): Collection;
2015-02-27 11:09:23 +01:00
/**
*
* @param array $words
*
* @return Collection
*/
2016-02-06 10:15:07 +01:00
public function searchTags(array $words): Collection;
2015-02-27 11:09:23 +01:00
/**
* @param array $words
*
* @return Collection
*/
2016-02-06 10:15:07 +01:00
public function searchTransactions(array $words): Collection;
2015-03-29 08:14:32 +02:00
}