mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-24 07:16:35 -06:00
54 lines
1000 B
PHP
54 lines
1000 B
PHP
<?php
|
|
|
|
|
|
namespace Firefly\Storage\RecurringTransaction;
|
|
|
|
/**
|
|
* Interface RecurringTransactionRepositoryInterface
|
|
*
|
|
* @package Firefly\Storage\RecurringTransaction
|
|
*/
|
|
interface RecurringTransactionRepositoryInterface
|
|
{
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function get();
|
|
|
|
/**
|
|
* @param $name
|
|
* @return mixed
|
|
*/
|
|
public function findByName($name);
|
|
|
|
/**
|
|
* @param $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function store($data);
|
|
|
|
/**
|
|
* @param \RecurringTransaction $recurringTransaction
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function destroy(\RecurringTransaction $recurringTransaction);
|
|
|
|
/**
|
|
* @param \RecurringTransaction $recurringTransaction
|
|
* @param $data
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function update(\RecurringTransaction $recurringTransaction, $data);
|
|
|
|
/**
|
|
* @param \User $user
|
|
* @return mixed
|
|
*/
|
|
public function overruleUser(\User $user);
|
|
|
|
|
|
}
|