InsertOperation.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  * InsertOperation holds data necessary to accomplish
17  * an insert 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 insert
26  * @param $values An array of attribute/value pairs to apply
27  */
28  public function __construct($entityType, array $values) {
29  parent::__construct($entityType, $values, []);
30  }
31 }
32 ?>
A PersistenceOperation instance holds data necessary to accomplish an operation on the persistent sto...
InsertOperation holds data necessary to accomplish an insert operation on the persistent store.
Persistence layer related interfaces and classes.
Definition: namespaces.php:42
__construct($entityType, array $values)
Constructor.