Loading module/Application/src/Entity/Db/Intervenant.php +0 −25 Changes for module/Application/src/Entity/Db/Intervenant.php: 0 added lines, 25 removed lines. Original line number Diff line number Diff line Loading @@ -291,11 +291,6 @@ class Intervenant implements HistoriqueAwareInterface, ResourceInterface, Import */ protected $missions; /** * @var Collection */ protected $offresEmplois; /** * Cache * Loading Loading @@ -1628,26 +1623,6 @@ class Intervenant implements HistoriqueAwareInterface, ResourceInterface, Import /** * Get missions * * @return Collection|OffreEmploi[] */ public function getOffresEmplois(): ?Collection { if (null === $this->offresEmplois) { return null; } $filter = function (OffreEmploi $offre) { return ($offre->estHistorise()) ? false : true; }; return $this->offresEmplois->filter($filter); } /** * @return bool */ Loading module/Application/src/Entity/Db/Mapping/Application.Entity.Db.Intervenant.dcm.xml +0 −1 Changes for module/Application/src/Entity/Db/Mapping/Application.Entity.Db.Intervenant.dcm.xml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -137,6 +137,5 @@ <one-to-many field="indicModifDossier" target-entity="Indicateur\Entity\Db\IndicModifDossier" mapped-by="intervenant"/> <one-to-many field="missions" target-entity="Mission\Entity\Db\Mission" mapped-by="intervenant"/> <many-to-many field="offresEmplois" target-entity="Mission\Entity\Db\OffreEmploi" mapped-by="etudiants"/> </entity> </doctrine-mapping> Loading
module/Application/src/Entity/Db/Intervenant.php +0 −25 Changes for module/Application/src/Entity/Db/Intervenant.php: 0 added lines, 25 removed lines. Original line number Diff line number Diff line Loading @@ -291,11 +291,6 @@ class Intervenant implements HistoriqueAwareInterface, ResourceInterface, Import */ protected $missions; /** * @var Collection */ protected $offresEmplois; /** * Cache * Loading Loading @@ -1628,26 +1623,6 @@ class Intervenant implements HistoriqueAwareInterface, ResourceInterface, Import /** * Get missions * * @return Collection|OffreEmploi[] */ public function getOffresEmplois(): ?Collection { if (null === $this->offresEmplois) { return null; } $filter = function (OffreEmploi $offre) { return ($offre->estHistorise()) ? false : true; }; return $this->offresEmplois->filter($filter); } /** * @return bool */ Loading
module/Application/src/Entity/Db/Mapping/Application.Entity.Db.Intervenant.dcm.xml +0 −1 Changes for module/Application/src/Entity/Db/Mapping/Application.Entity.Db.Intervenant.dcm.xml: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -137,6 +137,5 @@ <one-to-many field="indicModifDossier" target-entity="Indicateur\Entity\Db\IndicModifDossier" mapped-by="intervenant"/> <one-to-many field="missions" target-entity="Mission\Entity\Db\Mission" mapped-by="intervenant"/> <many-to-many field="offresEmplois" target-entity="Mission\Entity\Db\OffreEmploi" mapped-by="etudiants"/> </entity> </doctrine-mapping>