Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 356 Bytes

File metadata and controls

3 lines (2 loc) · 356 Bytes

Getters

Here is a collection of useful getter methods for entities by primary identifiers. Getters mostly deal with retrieving entities by primary keys instead of finders which rely on criteria operations. You can use the get() for a single entity, getOrFail() for throwing exceptions if an entity is not found and getAll() for multiple entities.