2014-07-27 13:29:58 -05:00
|
|
|
<?php
|
|
|
|
namespace Firefly\Helper\Controllers;
|
2014-07-29 12:37:52 -05:00
|
|
|
|
2014-07-27 13:29:58 -05:00
|
|
|
use Illuminate\Database\Eloquent\Collection;
|
2014-07-29 12:37:52 -05:00
|
|
|
|
2014-07-27 13:29:58 -05:00
|
|
|
/**
|
|
|
|
* Interface BudgetInterface
|
|
|
|
*
|
|
|
|
* @package Firefly\Helper\Controllers
|
|
|
|
*/
|
2014-07-29 12:37:52 -05:00
|
|
|
interface BudgetInterface
|
|
|
|
{
|
2014-07-27 13:29:58 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param Collection $budgets
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function organizeByDate(Collection $budgets);
|
|
|
|
|
2014-07-28 14:33:32 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param \Budget $budget
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function organizeRepetitions(\Budget $budget);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param \Budget $budget
|
|
|
|
* @param $repetitionId
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function organizeRepetition(\Budget $budget, $repetitionId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param \Budget $budget
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function outsideRepetitions(\Budget $budget);
|
|
|
|
|
2014-07-27 13:29:58 -05:00
|
|
|
}
|