Passed
Push — main ( 35cea8...263c2f )
by Andrey
21:51 queued 20:06
created

Builder::getFacadeAccessor()   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 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Helldar\Support\Facades\Http;
4
5
use Helldar\Support\Facades\Facade;
6
use Helldar\Support\Helpers\Http\Builder as Support;
7
use Psr\Http\Message\UriInterface;
8
9
/**
10
 * @method static int|null getPort()
11
 * @method static string getAuthority()
12
 * @method static string getBaseUrl()
13
 * @method static string getDomain()
14
 * @method static string getFragment()
15
 * @method static string getHost()
16
 * @method static string getPassword()
17
 * @method static string getPath()
18
 * @method static string getQuery()
19
 * @method static string getScheme()
20
 * @method static string getSubDomain()
21
 * @method static string getUser()
22
 * @method static string getUserInfo()
23
 * @method static string toUrl()
24
 * @method static Support fromPsr(UriInterface $uri)
25
 * @method static Support parse($url, int $component = Support::PHP_URL_ALL)
26
 * @method static Support parsed(array $parsed)
27
 * @method static Support putQuery(string $key, mixed $value)
28
 * @method static Support removeQuery(string $key)
29
 * @method static Support same()
30
 * @method static Support withFragment(string $fragment)
31
 * @method static Support withHost(string $host)
32
 * @method static Support withPath(string $path)
33
 * @method static Support withPort(int|null $host)
34
 * @method static Support withQuery(array|string $path)
35
 * @method static Support withScheme(string $scheme)
36
 * @method static Support withUserInfo(string $user, string $password = null)
37
 * @method static UriInterface toPsr()
38
 */
39
class Builder extends Facade
40
{
41 102
    protected static function getFacadeAccessor()
42
    {
43 102
        return Support::class;
44
    }
45
}
46