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

60 lines
905 B
PHP
Raw Normal View History

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