Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Replace extends UpdateDynamicEntities |
||
8 | { |
||
9 | const UPDATE_BEHAVIOR = 'REPLACE'; |
||
10 | |||
11 | /** |
||
12 | * @var array | null |
||
13 | */ |
||
14 | public $types; |
||
15 | |||
16 | /** |
||
17 | * @param Type $type |
||
18 | */ |
||
19 | public function addType(Type $type) |
||
20 | { |
||
21 | $this->types[] = $type; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return Replace |
||
26 | */ |
||
27 | public static function create(): self |
||
36 | } |
||
37 | } |
||
38 |