ProductVariantOperationPermitter
in
Interface ProductVariantOperationPermitter
Tags
Table of Contents
- 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.
Methods
permitsCreations()
Checks the permission of the create operation.
public
permitsCreations(array<string|int, mixed> ...$creationArgs) : bool
Parameters
- $creationArgs : array<string|int, mixed>
Return values
bool —permitsDeletions()
Checks the permission of the delete operation.
public
permitsDeletions(ProductVariantId ...$ids) : bool
Parameters
- $ids : ProductVariantId
Return values
bool —permitsStorages()
Checks the permission of the store operation.
public
permitsStorages(ProductVariant ...$variants) : bool
Parameters
- $variants : ProductVariant