|
|
@@ -26,16 +26,16 @@ use Symfony\Component\Serializer\Annotation\Context;
|
|
|
*
|
|
|
* Classe Notification. qui permet de gérer les notifications aux utilisateurs.
|
|
|
*/
|
|
|
-#[ApiResource(
|
|
|
- operations: [
|
|
|
- new Get(),
|
|
|
- new GetCollection(
|
|
|
- paginationMaximumItemsPerPage: 20,
|
|
|
- paginationClientItemsPerPage: true,
|
|
|
- order: ['id' => 'DESC']
|
|
|
- )
|
|
|
- ]
|
|
|
-)]
|
|
|
+//#[ApiResource(
|
|
|
+// operations: [
|
|
|
+// new Get(),
|
|
|
+// new GetCollection(
|
|
|
+// paginationMaximumItemsPerPage: 20,
|
|
|
+// paginationClientItemsPerPage: true,
|
|
|
+// order: ['id' => 'DESC']
|
|
|
+// )
|
|
|
+// ]
|
|
|
+//)]
|
|
|
//#[Auditable]
|
|
|
#[ORM\Entity]
|
|
|
#[ORM\Table(name: 'Information')]
|
|
|
@@ -131,7 +131,7 @@ class AbstractInformation
|
|
|
* @param Organization|null $recipientOrganization
|
|
|
* @return AbstractInformation
|
|
|
*/
|
|
|
- public function setRecipientOrganization(?Organization $recipientOrganization): AbstractInformation
|
|
|
+ public function setRecipientOrganization(?Organization $recipientOrganization): self
|
|
|
{
|
|
|
$this->recipientOrganization = $recipientOrganization;
|
|
|
return $this;
|