ProductVariantsImageListOperationPermitter
in package
implements
ImageListOperationPermitter
Class ProductVariantsImageListOperationPermitter
Interfaces, Classes and Traits
- ImageListOperationPermitter
- Interface ImageListOperationPermitter
Table of Contents
- $reader : ProductVariantsReader
- __construct() : mixed
- ProductVariantsImageListOperationPermitter 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
ProductVariantsReader
$reader
Methods
__construct()
ProductVariantsImageListOperationPermitter constructor.
public
__construct(ProductVariantsReader $reader) : mixed
Parameters
- $reader : ProductVariantsReader
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