Passed
Push — master ( 15770c...ea0752 )
by Petr
08:09
created

Php::getSchemaType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace kalanis\RemoteRequest\Connection\Params;
4
5
6
use kalanis\RemoteRequest\Interfaces\ISchema;
7
8
9
/**
10
 * Class Php
11
 * @package kalanis\RemoteRequest\Connection\Params
12
 * Properties for query to resource - wrapper for internal calls with available read and write props
13
 */
14
class Php extends AParams
15
{
16
    const HOST_MEMORY = 'memory';
17
    const HOST_TEMP = 'temp';
18
19 6
    protected function getSchemaType(): string
20
    {
21 6
        return ISchema::SCHEMA_PHP;
22
    }
23
24 1
    public function getPort(): ?int
25
    {
26 1
        return null;
27
    }
28
29 1
    public function getTimeout(): ?float
30
    {
31 1
        return null;
32
    }
33
}
34