SliderRepositoryReaderInterface
in
Interface SliderRepositoryReaderInterface
Tags
Table of Contents
- getAll() : SliderCollection
- Returns a SliderCollection with all existing Slider objects.
- getById() : SliderInterface
- Returns a Slider instance by the given slider ID.
- getStartPageSlider() : SliderInterface|null
- Get the Slider for the start page.
Methods
getAll()
Returns a SliderCollection with all existing Slider objects.
public
getAll() : SliderCollection
Return values
SliderCollection —getById()
Returns a Slider instance by the given slider ID.
public
getById(IdType $sliderId) : SliderInterface
Parameters
- $sliderId : IdType
Return values
SliderInterface —getStartPageSlider()
Get the Slider for the start page.
public
getStartPageSlider() : SliderInterface|null
Return values
SliderInterface|null —Returns the start page slider instance or null if no record was found.