Dumped Contents
In
ArticleController.php
line 107:
#[Route('/{_locale}/actualités/{slug}-{id}', name: 'app_show_article', requirements: ["slug" => "[a-z0-9\-]*"])]
public function showArticle(Article $article, string $slug, Request $request): Response
{ dump($article);
if ($article->getSlug() !== $slug) {
return $this->redirectToRoute('app_show_article', [
'id' => $article->getId(),
App\Entity\Article {#665
-id: 58
-filename: "67fe8439b7ad5417619199.jpg"
-imageSize: 205332
-imageFile: null
-title: null
-description: null
-created_At: DateTimeImmutable @1744733241 {#659
date: 2025-04-15 16:07:21.0 UTC (+00:00)
}
-updated_At: DateTimeImmutable @1755948510 {#656
date: 2025-08-23 11:28:30.0 UTC (+00:00)
}
-comments: Doctrine\ORM\PersistentCollection {#673
#collection: Doctrine\Common\Collections\ArrayCollection {#672
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Article {#665}
-association: array:15 [ …15]
-em: ContainerKKzqeEt\EntityManagerGhostEbeb667 {#323 …12}
-backRefFieldName: "article"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#668 …}
-isDirty: false
}
-professionel: null
-admin: Proxies\__CG__\App\Entity\Admin {#738
-id: 4
-email: ?
-roles: ?
-password: ?
-typeCompte: ?
-isVerified: ?
-tel: ?
-approve: ?
-facebookId: ? ?string
-isSuperAdmin: ?
-annonces: ? Doctrine\Common\Collections\Collection
-boutiques: ? Doctrine\Common\Collections\Collection
-codeUser: ? Doctrine\Common\Collections\Collection
-facebook: ? ?string
-twitter: ? ?string
-instagram: ? ?string
-linkedin: ? ?string
-youtube: ? ?string
-whatsapp: ? ?string
-pinterest: ? ?string
-avis: ? Doctrine\Common\Collections\Collection
-offreCredits: ? Doctrine\Common\Collections\Collection
-facebookAccessToken: ? ?string
-twitterId: ? ?string
-twitterAccessToken: ? ?string
-googleId: ? ?string
-googleAccessToken: ? ?string
-journalCredits: ? Doctrine\Common\Collections\Collection
-messages: ? Doctrine\Common\Collections\Collection
-userOffres: ? Doctrine\Common\Collections\Collection
-id: null
-isSuperAdmin: ? ?bool
-photo: ? ?string
-imageSize: ? ?int
-logoimage: null
-updated_At: ? ?DateTimeInterface
-articles: ? Doctrine\Common\Collections\Collection
-pub: ? Doctrine\Common\Collections\Collection
-portraits: ? Doctrine\Common\Collections\Collection
-lazyObjectState: Symfony\Component\VarExporter\Internal\LazyObjectState {#739
+status: UNINITIALIZED_FULL
+realInstance: ? object
…2
}
}
-typeArt: null
}