firefly-iii/app/lib/Firefly/Storage/Limit/LimitRepositoryInterface.php

44 lines
726 B
PHP
Raw Normal View History

<?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);
2014-07-20 13:46:10 -05:00
/**
* @param $limitId
*
* @return mixed
*/
2014-07-20 13:46:10 -05:00
public function find($limitId);
2014-08-09 03:01:37 -05:00
2014-08-10 08:01:46 -05:00
/**
* @param \Limit $limit
*
* @return mixed
*/
2014-08-09 03:01:37 -05:00
public function destroy(\Limit $limit);
}