DeleteOperation.php
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2020 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of the MIT License.
7  *
8  * See the LICENSE file distributed with this work for
9  * additional information.
10  */
11 namespace wcmf\lib\persistence;
12 
14 
15 /**
16  * DeleteOperation holds data necessary to accomplish
17  * an delete operation on the persistent store.
18  *
19  * @author ingo herwig <ingo@wemove.com>
20  */
22 
23  /**
24  * Constructor.
25  * @param $entityType The type of PersistentObject to delete
26  * @param $criteria An array of criteria instances to select the objects on
27  * which the operation will be executed
28  */
29  public function __construct($entityType, array $criteria) {
30  parent::__construct($entityType, [], $criteria);
31  }
32 }
33 ?>
DeleteOperation holds data necessary to accomplish an delete operation on the persistent store.
A PersistenceOperation instance holds data necessary to accomplish an operation on the persistent sto...
Persistence layer related interfaces and classes.
Definition: namespaces.php:42
__construct($entityType, array $criteria)
Constructor.