Commit cdb1ef29 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Normalisation de syntaxe des traits & interfaces pour éviter des diffs git

parent e46bf7cd
Loading
Loading
Loading
Loading
+24 −0
Changes for module/Application/src/Entity/Db/Interfaces/ServiceAPayerInterfaceAwareInterface.php: 24 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

namespace Application\Entity\Db\Interfaces;

use Application\Entity\Db\ServiceAPayerInterface;

/**
 * Description of ServiceAPayerInterfaceAwareInterface
 *
 * @author UnicaenCode
 */
interface ServiceAPayerInterfaceAwareInterface
{
    /**
     * @param ServiceAPayerInterface|null $serviceAPayerInterface
     *
     * @return self
     */
    public function setServiceAPayerInterface( ?ServiceAPayerInterface $serviceAPayerInterface );



    public function getServiceAPayerInterface(): ?ServiceAPayerInterface;
}
 No newline at end of file
+36 −0
Changes for module/Application/src/Entity/Db/Traits/ServiceAPayerInterfaceAwareTrait.php: 36 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

namespace Application\Entity\Db\Traits;

use Application\Entity\Db\ServiceAPayerInterface;

/**
 * Description of ServiceAPayerInterfaceAwareTrait
 *
 * @author UnicaenCode
 */
trait ServiceAPayerInterfaceAwareTrait
{
    protected ?ServiceAPayerInterface $serviceAPayerInterface = null;



    /**
     * @param ServiceAPayerInterface $serviceAPayerInterface
     *
     * @return self
     */
    public function setServiceAPayerInterface( ?ServiceAPayerInterface $serviceAPayerInterface )
    {
        $this->serviceAPayerInterface = $serviceAPayerInterface;

        return $this;
    }



    public function getServiceAPayerInterface(): ?ServiceAPayerInterface
    {
        return $this->serviceAPayerInterface;
    }
}
 No newline at end of file
+36 −0
Changes for module/Application/src/Entity/Traits/NiveauEtapeAwareTrait.php: 36 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

namespace Application\Entity\Traits;

use Application\Entity\NiveauEtape;

/**
 * Description of NiveauEtapeAwareTrait
 *
 * @author UnicaenCode
 */
trait NiveauEtapeAwareTrait
{
    protected ?NiveauEtape $niveauEtape = null;



    /**
     * @param NiveauEtape $niveauEtape
     *
     * @return self
     */
    public function setNiveauEtape( ?NiveauEtape $niveauEtape )
    {
        $this->niveauEtape = $niveauEtape;

        return $this;
    }



    public function getNiveauEtape(): ?NiveauEtape
    {
        return $this->niveauEtape;
    }
}
 No newline at end of file