SlideImageAreaRepository

Implements \SlideImageAreaRepositoryInterface

Class SlideImageAreaRepository

category

System

package

Slider

subpackage

Repositories

Methods

SlideImageAreaRepository constructor.

__construct(\SlideImageAreaRepositoryWriterInterface $writer, \SlideImageAreaRepositoryReaderInterface $reader, \SlideImageAreaRepositoryDeleterInterface $deleter) 

Deletes a SlideImageArea by the given slide image area ID.

deleteSlideImageAreaById(\IdType $slideImageAreaId) : \SlideImageAreaRepositoryInterface

Arguments

$slideImageAreaId

\IdType

Response

\SlideImageAreaRepositoryInterface

Same instance for method chaining.

Deletes SlideImageAreas by the given slide image ID.

deleteSlideImageAreasBySlideImageId(\IdType $slideImageId) : \SlideImageAreaRepositoryInterface

Arguments

$slideImageId

\IdType

Response

\SlideImageAreaRepositoryInterface

Same instance for method chaining.

Returns a SlideImageArea instance by the given slide image area ID.

getById(\IdType $slideImageAreaId) : \SlideImageAreaInterface

Arguments

$slideImageAreaId

\IdType

Response

\SlideImageAreaInterface

Returns a SlideImageAreaCollection instance by the given slide image ID.

getBySlideImageId(\IdType $slideImageId) : \SlideImageAreaCollection

Arguments

$slideImageId

\IdType

ID of the slide image to get.

Response

\SlideImageAreaCollection

Stores a SlideImageArea to the database.

store(\IdType $slideImageId, \SlideImageAreaInterface $slideImageArea) : \SlideImageAreaRepositoryInterface

Arguments

$slideImageId

\IdType

$slideImageArea

\SlideImageAreaInterface

Response

\SlideImageAreaRepositoryInterface

Same instance for method chaining.

Properties

writer

writer : \SlideImageAreaRepositoryWriterInterface

reader

reader : \SlideImageAreaRepositoryReaderInterface

deleter

deleter : \SlideImageAreaRepositoryDeleterInterface