Completed
Branch 7-dev (bf2895)
by Oscar
03:53
created

CreateUpdateQuery::getQuery()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types = 1);
3
4
namespace SimpleCrud\Events;
5
6
use SimpleCrud\Query\Update;
7
8
class CreateUpdateQuery
9
{
10
    private $query;
11
12
    public function __construct(Update $query)
13
    {
14
        $this->query = $query;
15
    }
16
17
    public function getQuery(): Update
18
    {
19
        return $this->query;
20
    }
21
}
22