---
title: "PHP – WeakMap & Enum | chartman2-fr.ovh"
description: "Utiliser les WeakMap et Enum en PHP moderne avec Laravel et Symfony"
canonical_url: "https://chartman2-fr.ovh/blog/article/1-php-weakmap-enum"
locale: fr
meta:
  "og:description": "Utiliser les WeakMap et Enum en PHP moderne avec Laravel et Symfony"
  "og:image": "https://chartman2-fr.ovh/img/logo.png"
  "og:title": "PHP – WeakMap & Enum"
---

> Index of every page on this site: [llms.txt](https://chartman2-fr.ovh/llms.txt)

PHP – WeakMap & Enum

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://chartman2-fr.ovh/#website","@type":"WebSite","description":"Christophe Hartmann, développeur Ruby on Rails / Nuxt et DevOps : applications maintenables, CI/CD, Docker et infrastructure auto-hébergée. Articles et retours d'expérience.","inLanguage":"fr-FR","name":"chartman2-fr.ovh","url":"https://chartman2-fr.ovh/","workTranslation":[]},{"@id":"https://chartman2-fr.ovh/blog/article/1-php-weakmap-enum#webpage","@type":"WebPage","description":"Utiliser les WeakMap et Enum en PHP moderne avec Laravel et Symfony","name":"PHP – WeakMap & Enum","url":"https://chartman2-fr.ovh/blog/article/1-php-weakmap-enum","isPartOf":{"@id":"https://chartman2-fr.ovh/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://chartman2-fr.ovh/blog/article/1-php-weakmap-enum"]}]}]}
```

## Sitemap

See the full [sitemap](https://chartman2-fr.ovh/sitemap.md) for all pages.
