Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
<?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
<?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
<?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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment