![]() |
Kohinos
2.1.5
Logiciel de gestion d'une MLC (Monnaie Locale Complémentaire)
|
Fonctions membres publiques | |
getId () | |
getBalance () | |
setBalance (float $balance) | |
addAmount (float $montant) | |
getCurrency () | |
setCurrency (string $currency) | |
getHash () | |
setHash (string $hash) | |
preUpdate (LifecycleEventArgs $event) | |
postPersist (LifecycleEventArgs $event) | |
getAllInfosUncrypted () | |
getOperations () | |
setOperations ($operations) | |
addOperation (Operation $operation) | |
removeOperation (Operation $operation) | |
![]() | |
setAccountableObject (AccountableInterface $object) | |
getAccountableObject () | |
Attributs protégés | |
$id | |
$balance = 0.00 | |
$currency = '' | |
$hash = 'tmp' | |
$operations | |
@ORM\MappedSuperclass @ORM\HasLifecycleCallbacks
App\Entity\Account::addAmount | ( | float | $montant | ) |
Can be negative amount.
float | $montant | [description] |
App\Entity\Account::addOperation | ( | Operation | $operation | ) |
Operation | $operation |
App\Entity\Account::getOperations | ( | ) |
Get operations.
App\Entity\Account::postPersist | ( | LifecycleEventArgs | $event | ) |
@ORM\PostPersist
LifecycleEventArgs | $event |
App\Entity\Account::preUpdate | ( | LifecycleEventArgs | $event | ) |
@ORM\PreUpdate
LifecycleEventArgs | $event |
App\Entity\Account::removeOperation | ( | Operation | $operation | ) |
Operation | $operation |
App\Entity\Account::setCurrency | ( | string | $currency | ) |
App\Entity\Account::setOperations | ( | $operations | ) |
Set operations.
|
protected |
@ORM\Column(name="balance", type="decimal", scale=2, options={"default": 0.00})