final class Entity (View source)

Marks an object as an entity.

Behaves like \Doctrine\ORM\Mapping\Entity so it is interchangeable with that.

Properties

string $repositoryClass

Name of the repository class to use for managing the entity.

bool $readOnly

Whether the entity should be read-only.