-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/5.x-purgeevent' into 5.3
- Loading branch information
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* @link https://craftcms.com/ | ||
* @copyright Copyright (c) Pixel & Tonic, Inc. | ||
* @license https://craftcms.github.io/license/ | ||
*/ | ||
|
||
namespace craft\commerce\events; | ||
|
||
use craft\commerce\elements\Order; | ||
use craft\db\Query; | ||
use craft\events\CancelableEvent; | ||
|
||
/** | ||
* Class CartEvent | ||
* | ||
* @author Pixel & Tonic, Inc. <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class CartPurgeEvent extends CancelableEvent | ||
{ | ||
/** | ||
* @var Query The query that identifies the order IDs to be purged. | ||
*/ | ||
public Query $inactiveCartsQuery; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters