mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 03:08:11 +00:00
36 lines
575 B
PHP
36 lines
575 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace FireflyIII\Repositories\ObjectGroup;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Interface ObjectGroupRepositoryInterface
|
|
*/
|
|
interface ObjectGroupRepositoryInterface
|
|
{
|
|
/**
|
|
* @return Collection
|
|
*/
|
|
public function get(): Collection;
|
|
|
|
/**
|
|
* @param string $query
|
|
*
|
|
* @return Collection
|
|
*/
|
|
public function search(string $query): Collection;
|
|
|
|
/**
|
|
* Delete empty ones.
|
|
*/
|
|
public function deleteEmpty(): void;
|
|
|
|
/**
|
|
* Sort
|
|
*/
|
|
public function sort(): void;
|
|
|
|
}
|