AbstractKsql::getStatementText()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Ytake\KsqlClient\Entity;
5
6
/**
7
 * Class AbstractKsql
8
 */
9
abstract class AbstractKsql
10
{
11
    /** @var string */
12
    protected $statementText;
13
14
    /**
15
     * @param string $statementText
16
     */
17
    public function __construct(string $statementText)
18
    {
19
        $this->statementText = $statementText;
20
    }
21
22
    /**
23
     * @return string
24
     */
25
    public function getStatementText(): string
26
    {
27
        return $this->statementText;
28
    }
29
}
30