remove annotations from documentation

This commit is contained in:
Matthieu Lempereur
2026-03-17 20:17:56 +01:00
committed by GitHub
parent 6b9b69a452
commit 0f1a7efe33

View File

@@ -351,32 +351,6 @@ for Doctrine's ORM:
#[ORM\Column(type: Types::STRING, length: 255)]
private $name;
.. code-block:: php-annotations
// src/Entity/User.php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="hello_user")
*/
class User
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
.. code-block:: yaml
# config/doctrine/User.orm.yaml