What does #[ORM\Column(type: Types::???)] in Doctrine ORM do?

Viewed 64

I found in Doctrine documentation this weird definition of text column, but my IDE is not liking it.

use Doctrine\DBAL\Types\Types;

#[ORM\Column(type: Types::???)]
protected string $content;

Instead, #[ORM\Column(type: Types::TEXT)] goes well.

So what does #[ORM\Column(type: Types::???)] actually do?

0 Answers
Related