mirror of
https://github.com/doctrine/DoctrineMigrationsBundle.git
synced 2026-03-23 22:32:17 +01:00
remove annotations from documentation
This commit is contained in:
committed by
GitHub
parent
6b9b69a452
commit
0f1a7efe33
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user