Entity
Last updated
Was this helpful?
Last updated
Was this helpful?
Entity
presents a table in your database.
All relations should be defined as an Entity
method. See for more examples.
You can extract and reuse common scopes to methods.
You can then call scopes in your controllers, services or everywhere else.
You can extend the Entity
Instead of creating the entity with new
, you can also create an entity from the factory.