Allow piggy banks to be ordered.

This commit is contained in:
James Cole
2015-03-15 18:00:33 +01:00
parent 2fa7d2bd56
commit 063c8025aa
7 changed files with 107 additions and 12 deletions

View File

@@ -37,6 +37,23 @@ interface PiggyBankRepositoryInterface
*/
public function createPiggyBankPart(array $data);
/**
* Set all piggy banks to order 0.
* @return void
*/
public function reset();
/**
*
* set id of piggy bank.
*
* @param int $id
* @param int $order
*
* @return void
*/
public function setOrder($id, $order);
/**