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|null $repositoryClass

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

bool $readOnly

Whether the entity should be read-only.

Methods

__construct(string|null $repositoryClass = null, bool $readOnly = false)

No description

Details

__construct(string|null $repositoryClass = null, bool $readOnly = false)

No description

Parameters

string|null $repositoryClass
bool $readOnly