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: 39
-filename: "67abb86772eed465479246.jpeg"
-imageSize: 116145
-imageFile: null
-title: "Porsche Macan : la Mini Cayenne!!"
-description: "<p><span>L'heure n'est plus aux SUV pantagruéliques, que ce soit chez Porsche ou ailleurs ! Ce dernier l'a d'ailleurs fort bien compris et proposera bientôt un SUV compact, le Macan, basé sur l'Audi Q5 !</span></p>"
-created_At: DateTimeImmutable @1739307111 {#659
date: 2025-02-11 20:51:51.0 UTC (+00:00)
}
-updated_At: DateTimeImmutable @1739307111 {#656
date: 2025-02-11 20:51:51.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
}