# Type Guesser

---

## TLDR

```yaml
- { property: 'date', label: "Date du rapport", type: 'date_month_year' }
```

---

## List of custom types

- Relations
  - many-to-many / many_to_many / manyToMany / entity-many-to-many / entity_many_to_many / entityManyToMany / entity
  - many-to-one / many_to_one / manyToOne / entity-many-to-one / entity_many_to_one / entityManyToOne / entity
  - one-to-many / one_to_many / oneToMany / entity-one-to-many / entity_one_to_many / entityOneToMany / entity
  - one-to-one / one_to_one / oneToOne / entity-one-to-one / entity_one_to_one / entityOneToOne / entity
- boolean / bool
- collection
- date
- datemonthyear / date_month_year
- datetime
- float
- integer / int
- rich_text / richtext
- textarea / text
- url
- Medias
  - file
  - file_media
  - image
  - image_media
  - image_collection
  - linked_media
  - linked_media_collection

---

## Create a new Type Guesser

Just create a new guesser in this repo `src/Admin/Form/TypeGuesser/Guesser` which extends `AbstractAdminTypeGuesser` and
customize methods.
