Annotations Reference ===================== Index ----- - :ref:`@Entity ` - :ref:`@Id ` - :ref:`@Transient ` Reference --------- .. _annref_entity: @Entity ~~~~~~~ Required annotation to mark a PHP class as an entity. Doctrine manages the persistence of all classes marked as entities. Optional attributes: - **storageName**: Specifies the storage name used to prevent conflicts. Example: .. code-block:: php