CotisationTavReversementCorrectionSolde.php 664 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?php

namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;

/**
 * Child class used to notify adherents by email.
 *
 * - [Allocation selon foyer] Un administrateur effectue une opération de correction de solde qui conduit à un reversement.
 * @ORM\Entity
 */
class CotisationTavReversementCorrectionSolde extends CotisationTavReversement
{
    /**
     * @return string
     */
    public function getType(): string
    {
        return parent::TYPE_REVERSEMENT_COTISATION_ADHERENT_CORRECTION_SOLDE;
    }

    public function getUsersToNotify()
    {
        return [
            'destinataires' => [$this->getDestinataire()->getUser()],
        ];
    }
}