mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 19:53:44 +00:00
51 lines
790 B
PHP
51 lines
790 B
PHP
<?php
|
|
|
|
namespace Firefly\Storage\Budget;
|
|
|
|
/**
|
|
* Interface BudgetRepositoryInterface
|
|
*
|
|
* @package Firefly\Storage\Budget
|
|
*/
|
|
interface BudgetRepositoryInterface
|
|
{
|
|
/**
|
|
* @param \Budget $budget
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function destroy(\Budget $budget);
|
|
|
|
/**
|
|
* @param $budgetId
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function find($budgetId);
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function get();
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAsSelectList();
|
|
|
|
/**
|
|
* @param $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function store($data);
|
|
|
|
/**
|
|
* @param \Budget $budget
|
|
* @param $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function update(\Budget $budget, $data);
|
|
|
|
}
|