Add bills and piggy banks

This commit is contained in:
James Cole
2021-03-06 15:00:34 +01:00
parent 84263b9ee8
commit b43ea5c108
3 changed files with 48 additions and 0 deletions

View File

@@ -163,6 +163,14 @@ class ObjectGroupRepository implements ObjectGroupRepositoryInterface
return $objectGroup->piggyBanks;
}
/**
* @inheritDoc
*/
public function getBills(ObjectGroup $objectGroup): Collection
{
return $objectGroup->bills;
}
/**
* @inheritDoc
*/

View File

@@ -61,6 +61,13 @@ interface ObjectGroupRepositoryInterface
*/
public function getPiggyBanks(ObjectGroup $objectGroup): Collection;
/**
* @param ObjectGroup $objectGroup
*
* @return Collection
*/
public function getBills(ObjectGroup $objectGroup): Collection;
/**
* Sort
*/