ImageListReadService
in package
implements
ImageListReadService
Class ImageListReadService
Interfaces, Classes and Traits
- ImageListReadService
- Interface ImageListReadService
Table of Contents
- $factory : ImageListFactory
- $repository : ImageListRepository
- __construct() : mixed
- ImageListReadService constructor.
- getAllImageLists() : ImageLists
- Returns a collection of all image lists.
- getImageListById() : ImageList
- Returns a specific image list based on the given option ID.
Properties
$factory
private
ImageListFactory
$factory
$repository
private
ImageListRepository
$repository
Methods
__construct()
ImageListReadService constructor.
public
__construct(ImageListRepository $repository, ImageListFactory $factory) : mixed
Parameters
- $repository : ImageListRepository
- $factory : ImageListFactory
Return values
mixed —getAllImageLists()
Returns a collection of all image lists.
public
getAllImageLists() : ImageLists
Tags
Return values
ImageLists —getImageListById()
Returns a specific image list based on the given option ID.
public
getImageListById(int $imageListId) : ImageList
Parameters
- $imageListId : int