Sandbox::getWsHost()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
namespace PHPSC\PagSeguro\Environments;
3
4
use PHPSC\PagSeguro\Environment;
5
6
/**
7
 * @author Luís Otávio Cobucci Oblonczyk <[email protected]>
8
 */
9
class Sandbox extends Environment
10
{
11
    const HOST = 'sandbox.pagseguro.uol.com.br';
12
13
    const WS_HOST = 'ws.sandbox.pagseguro.uol.com.br';
14
15
    /**
16
     * {@inheritdoc}
17
     */
18 1
    public function getHost()
19
    {
20 1
        return static::HOST;
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26 1
    public function getWsHost()
27
    {
28 1
        return static::WS_HOST;
29
    }
30
}
31