ThemeRepository
class ThemeRepository extends EntityRepository
Class ThemeRepository is injected as alligator.theme.repository service. ThemeRepository is used for crud operation for managed entity.
Use this class to work with database.
Constants
| ALIAS |
Alias for theme |
Methods
bool
Theme|null
getThemeByName(string $name)
Find theme by name
Theme|null
getThemeById(int $id)
Find theme by id