phpDocumentor

DeleteHistoryScope
in package

Class DeleteHistoryScope

Table of Contents

SCOPE_CATEGORIES  = 'delete_scope_categories'
SCOPE_CUSTOMERS  = 'delete_scope_customers'
SCOPE_ORDERS  = 'delete_scope_orders'
Scope constants
SCOPE_PRODUCTS  = 'delete_scope_products'
$allowedScopes  : array<string|int, mixed>
$scope  : string
__construct()  : mixed
DeleteHistoryScope constructor.
categories()  : DeleteHistoryScope
Creates a new instance of a delete history categories scope.
customers()  : DeleteHistoryScope
Creates a new instance of a delete history customers scope.
orders()  : DeleteHistoryScope
Creates a new instance of a delete history orders scope.
products()  : DeleteHistoryScope
Creates a new instance of a delete history products scope.
scope()  : string
Returns the current scope.

Constants

Properties

$allowedScopes

private static array<string|int, mixed> $allowedScopes = [self::SCOPE_ORDERS, self::SCOPE_PRODUCTS, self::SCOPE_CATEGORIES, self::SCOPE_CUSTOMERS]

Methods

__construct()

DeleteHistoryScope constructor.

public __construct(string $scope) : mixed
Parameters
$scope : string

Delete history scope.

Return values
mixed

Search results