Class SliderRepository
category |
System |
---|---|
package |
Slider |
subpackage |
Repositories |
__construct(\SliderRepositoryWriterInterface $writer, \SliderRepositoryReaderInterface $reader, \SliderRepositoryDeleterInterface $deleter, \SlideRepositoryInterface $slideRepository)
\SliderRepositoryWriterInterface
\SliderRepositoryReaderInterface
\SliderRepositoryDeleterInterface
\SlideRepositoryInterface
_getSlideCollection(\IdType $sliderId) : \SlideCollection
deleteSliderById(\IdType $sliderId) : \SliderRepositoryInterface
Throws |
|
---|
\SliderRepositoryInterface
Same instance for method chaining.
getAll() : \SliderCollection
getById(\IdType $sliderId) : \SliderInterface
getStartPageSlider() : \SliderInterface|null
\SliderInterface|null
Returns the start page slider instance or null if no record was found.
setStartPageSlider(\IdType $sliderId) : \SliderRepositoryInterface
store(\SliderInterface $slider) : \SliderRepositoryInterface
Throws |
|
---|
\SliderRepositoryInterface
Same instance for method chaining.