mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 19:01:39 +00:00
37 lines
609 B
PHP
37 lines
609 B
PHP
<?php
|
|
|
|
namespace Firefly\Storage\Limit;
|
|
|
|
use Carbon\Carbon;
|
|
|
|
/**
|
|
* Interface LimitRepositoryInterface
|
|
*
|
|
* @package Firefly\Storage\Limit
|
|
*/
|
|
interface LimitRepositoryInterface
|
|
{
|
|
|
|
/**
|
|
* @param $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function store($data);
|
|
|
|
/**
|
|
* @param \Budget $budget
|
|
* @param Carbon $start
|
|
* @param Carbon $end
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function getTJByBudgetAndDateRange(\Budget $budget, Carbon $start, Carbon $end);
|
|
|
|
/**
|
|
* @param $limitId
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function find($limitId);
|
|
}
|