firefly-iii/app/lib/Firefly/Storage/Budget/BudgetRepositoryInterface.php

46 lines
704 B
PHP
Raw Normal View History

2014-07-15 00:08:13 -05:00
<?php
namespace Firefly\Storage\Budget;
use Carbon\Carbon;
2014-07-15 00:08:13 -05:00
/**
* Interface BudgetRepositoryInterface
*
* @package Firefly\Storage\Budget
*/
interface BudgetRepositoryInterface
{
/**
* @return mixed
*/
public function getAsSelectList();
/**
* @return mixed
*/
public function get();
/**
* @param $data
*
* @return mixed
*/
2014-07-22 23:57:51 -05:00
public function store($data);
2014-07-15 15:16:29 -05:00
/**
* @param $budgetId
*
* @return mixed
*/
public function find($budgetId);
2014-07-15 00:08:13 -05:00
/**
* @param Carbon $date
* @param $range
*
* @return mixed
*/
public function getWithRepetitionsInPeriod(Carbon $date, $range);
2014-07-23 09:44:20 -05:00
2014-07-15 00:08:13 -05:00
}