2014-07-31 22:01:52 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Firefly\Storage\Piggybank;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface LimitRepositoryInterface
|
|
|
|
*
|
|
|
|
* @package Firefly\Storage\Limit
|
|
|
|
*/
|
|
|
|
interface PiggybankRepositoryInterface
|
|
|
|
{
|
|
|
|
|
|
|
|
public function find($piggyBankId);
|
2014-08-02 07:34:38 +02:00
|
|
|
|
2014-07-31 22:01:52 +02:00
|
|
|
public function count();
|
2014-08-02 07:34:38 +02:00
|
|
|
|
2014-07-31 22:01:52 +02:00
|
|
|
public function store($data);
|
2014-08-02 07:34:38 +02:00
|
|
|
|
2014-07-31 22:01:52 +02:00
|
|
|
public function get();
|
2014-08-01 07:04:36 +02:00
|
|
|
|
|
|
|
public function updateAmount(\Piggybank $piggyBank, $amount);
|
2014-08-02 07:34:38 +02:00
|
|
|
|
|
|
|
public function update($data);
|
|
|
|
|
2014-07-31 22:01:52 +02:00
|
|
|
}
|