ProductOptionsImageListOperationPermitter
in package
implements
ImageListOperationPermitter
Class ProductOptionsImageListOperationPermitter
Interfaces, Classes and Traits
- ImageListOperationPermitter
- Interface ImageListOperationPermitter
Table of Contents
- $reader : ProductOptionReader
- __construct() : mixed
- ProductOptionsImageListOperationPermitter constructor.
- permitsCreations() : bool
- Checks the permission of the create operation.
- permitsDeletions() : bool
- Checks the permission of the delete operation.
- permitsStorages() : bool
- Checks the permission of the store operation.
Properties
$reader
private
ProductOptionReader
$reader
Methods
__construct()
ProductOptionsImageListOperationPermitter constructor.
public
__construct(ProductOptionReader $reader) : mixed
Parameters
- $reader : ProductOptionReader
Return values
mixed —permitsCreations()
Checks the permission of the create operation.
public
permitsCreations(string ...$imageListNames) : bool
Parameters
- $imageListNames : string
Tags
Return values
bool —permitsDeletions()
Checks the permission of the delete operation.
public
permitsDeletions(ImageListId ...$ids) : bool
Parameters
- $ids : ImageListId
Tags
Return values
bool —permitsStorages()
Checks the permission of the store operation.
public
permitsStorages(ImageList ...$imageList) : bool
Parameters
- $imageList : ImageList