Completed
Pull Request — develop (#3523)
by
unknown
127:46 queued 62:42
created

LastInsertId   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 13
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setId() 0 3 1
A getId() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\DBAL\Driver\PDOSqlsrv;
6
7
/**
8
 * Last Id Data Container.
9
 */
10
class LastInsertId
11
{
12
    /** @var string|null */
13
    private $id;
14
15
    public function setId(?string $id) : void
16
    {
17
        $this->id = $id;
18
    }
19
20
    public function getId() : ?string
21
    {
22
        return $this->id;
23
    }
24
}
25