Interface SliderRepositoryInterface

Interface SliderRepositoryInterface

Direct known implementers

SliderRepository

Methods summary

public getAll( void ) : SliderCollection

Returns a SliderCollection with all existing Slider objects.

public getById( IdType $sliderId ) : SliderInterface

Returns a Slider instance by the given slider ID.

public store( SliderInterface $slider ) : SliderRepositoryInterface

Stores a Slider to the database.

public setStartPageSlider( IdType $sliderId ) : SliderRepositoryInterface

Set the Slider for the start page.

public deleteSliderById( IdType $sliderId ) : SliderRepositoryInterface

Deletes a Slider by the given slider ID.

public getStartPageSlider( void ) : SliderInterface|null

Get the Slider for the start page.